Question: Is there any difference between following declarations? 1 : extern int fun(); 2 : int fun(); (1)Both are identical (2)No difference, except extern int fun();

Is there any difference between following declarations?

1 :extern int fun();
2 :int fun();


(1)Both are identical

(2)No difference, except extern int fun(); is probably in another file

(3)int fun(); is override with extern int fun();

(4)None of these

Step by Step Solution

3.40 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The detailed answer for the above question is provided below Solution Answe... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!