what is the difference between these two function declarations in C:
extern void fun(); and
There is no difference.
first one can be used to say that function definition is in some other file. this can be only used for readability purpose. Otherwise there is no specific difference for compiler.
option 2 is true, but it has some difference for compiler as well.
none of the above are true.
Back To Top