Answers

Question and Answer:

  Home  C Functions

⟩ Do you know what is the purpose of "extern" keyword in a function declaration?

The 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;

 224 views

More Questions for you: