What does extern mean in a function declaration in c++, C/C++ Programming

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

 

 

Posted Date: 4/8/2013 6:07:50 AM | Location : United States







Related Discussions:- What does extern mean in a function declaration in c++, Assignment Help, Ask Question on What does extern mean in a function declaration in c++, Get Answer, Expert's Help, What does extern mean in a function declaration in c++ Discussions

Write discussion on What does extern mean in a function declaration in c++
Your posts are moderated
Related Questions
A virtual function permits derived classes to replace the implementation given by the base class. The compiler makes sure the replacement is always known as whenever the object in


Can any constructor throw an exception? How to handle error while the constructor fails?


Explain structured programming The principal idea behind structured programming was as easy as the idea of "divide and conquer." A computer program could be regarded as having

Program to sort a range of numbers with Insertion: /* define variable */ const int max=29000; int list[max]; FILE *fp; clock_t start,end; char any1[8];

Function Overloading Function overloading is a form of polymorphism. Function overloading facilitates explaining one function having many forms. In other words it facilitates e

Based on the automobile's model year and weight, the city of Cebu determines the car's weight class and registration fee using the following schedule: Model Year Registration

Want an EA project for Jack Bsher Project Description: New EA game Skills required   Android, C++ Programming, PHP, Metatrader, SQL

Project Description: We own proprietary software which long ago had Copyminder protection added. We no longer have the source code or a relationship with the original coder and