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
What is the use of ?
If fflush wont work, what can I use to flush input?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
What is typeof in c?
What is bss in c?
code for replace tabs with equivalent number of blanks
How can I run c program?
How can I trap or ignore keyboard interrupts like control-c?
What does emoji p mean?
Explain how do you determine a file’s attributes?
What do you mean by c what are the main characteristics of c language?
What are the valid places to have keyword “break”?
What is structure of c program?
Why is main function so important?
What is wrong with this program statement?