C Pointers Question:
Download Questions PDF

Explain what is the purpose of "extern" keyword in a function declaration?

Answer:

The declaration of functions defaults to external linkage. The only other storage class possible for a function is static, which must be specified explicitly. It cannot be applied to a block scope function declaration and results in internal linkage.

Download C Pointers Interview Questions And Answers PDF

Previous QuestionNext Question
What is the use of bit field?What is the difference between strcpy() and memcpy() function?