Answer Posted / poornima
extern is a keyword that is prefixed in function
declaration. It means tht function definition is in source
file.
for eg.
source file contains int sum(int x,int y) definition part.
To make use of this function in file by simply declare as
extern int sum(int ,int); is a good practice.
But to compiler happy extern sum(); is enough.
Is This Answer Correct ? | 34 Yes | 16 No |
Post New Answer View All Answers
Is it better to use a macro or a function?
How can I manipulate strings of multibyte characters?
Difference between strcpy() and memcpy() function?
Why we use conio h in c?
What is structure pointer in c?
Do you know the use of 'auto' keyword?
What is your stream meaning?
What is stack in c?
What is a list in c?
Can you explain the four storage classes in C?
What is structure in c language?
What is self-referential structure in c programming?
How do you determine the length of a string value that was stored in a variable?
Are pointers integer?
What is null pointer in c?