Do you know what is the purpose of "extern" keyword in a function declaration?
Submitted by: AdministratorThe keyword ‘extern' indicates the actual storage of the variable is visible , or body of a function is defined elsewhere, commonly in a separate source code. This extends the scope of the variables or functions to be used across the file scope.
Example:
extern int number;
Submitted by: Administrator
Example:
extern int number;
Submitted by: Administrator
Read Online C Functions Job Interview Questions And Answers
Top C Functions Questions
☺ | What is self-referential structure in C Programming? |
☺ | Tell me what is NULL pointer in C? |
☺ | What is C Programming structure? |
☺ | Tell me what is the purpose of "register" keyword in C Language? |
☺ | What is function prototype in C Language? |
Top C Programming Categories
☺ | C Functions Interview Questions. |
☺ | C Pointers Interview Questions. |
☺ | C Preprocessor Interview Questions. |