Examveda

What is the purpose of the 'extern' keyword in a function declaration in C++?

A. It declares the function as an external function

B. It ensures that the function is not inlined

C. It makes the function visible only within the file

D. It specifies that the function is defined elsewhere

Answer: Option D


Join The Discussion

Related Questions on Functions and Procedures in C plus plus