Question
Is there any difference between following declarations?
1: extern int fun();
2: int fun();
Answer: Option B
Was this answer helpful ?
extern int fun(); declaration in C is to indicate the existence of a global function
and it is defined externally to the current module or in another file.
int fun(); declaration in C is to indicate the existence of a function inside the
current module or in the same file.
Was this answer helpful ?
More Questions on This Topic :
Question 2.
Point out the error in the following program....
Question 5.
By default a real number is treated as a
....
Question 6.
What is the output of the program
#includ....
Submit Solution