C++ Programming Question:
Download Questions PDF

What does extern mean in a function declaration in C++?

C++ Programming Interview Question
C++ Programming Interview Question

Answer:

It tells the compiler that a variable or a function exists, even if the compiler hasn’t yet seen it in the file currently being compiled. This variable or function may be defined in another file or further down in the current file.

Download C++ Programming Interview Questions And Answers PDF

Previous QuestionNext Question
How do I declare an array of N pointers to functions returning pointers to functions returning pointers to characters?How do I initialize a pointer to a function?