C Pointers Question:

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

C Pointers Interview Question
C Pointers Interview Question

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.


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