What does extern mean in a function declaration?

Answer Posted / swetcha

extern is significant only with data declarations. In
function declarations, it can be used as a stylistic hint
to indicate that the function's definition is probably in
another source file, but there is no formal difference
between

extern int f();

and
int f();

Is This Answer Correct ?    91 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the standard predefined macros?

639


Explain the properties of union.

615


simple program of graphics and their output display

1471


Was 2000 a leap year?

635


What is pass by value in c?

600






When is a “switch” statement preferable over an “if” statement?

653


What are the advantages and disadvantages of c language?

568


Explain bit masking in c?

642


What do you mean by dynamic memory allocation in c?

656


Which is the best website to learn c programming?

585


Who is the founder of c language?

688


How are portions of a program disabled in demo versions?

754


How to delete a node from linked list w/o using collectons?

2092


What is boolean in c?

615


How can I direct output to the printer?

815