631 views

1 Answer

0 votes
0 votes
Your 2nd line is just function declaration .When gcc compiles these , it'd reference to actual function definition.

Which is absent , so unknown reference'd be encountered.

Related questions

0 votes
0 votes
1 answer
1
radha gogia asked Aug 10, 2015
403 views
CASE A: CASE A: &#8234;#&lrm;include&#8236;<stdio.h int divide( int a, b) { return 7; } int main() { int a=divide(8,3); printf("%d",a); return 0; }CASE B :CASE B : #inclu...
0 votes
0 votes
0 answers
3