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

C Program for FUNCTION OF COUNT THE INTEREST float si(float,float,float); void main() {           float p=0,r=0,n=0,k=0;           clrscr();           printf("E

How do you access the values within an array? - Arrays comprise a number of elements, which depends on the size you assigned it during variable declaration. - Every element


1. Create text a file with the name "myemail" that has a single line in it, consisting of your email address. Something like "firstname_lastname@carleton.ca" (or your hotmail or gm

Develop G-code generating software Project Description: I'm presently using Slicer on a polymer jetting 3d printer. The toolpaths were thought out for FDM printers and thus a

Literals (Constants) Constants are data storage locations whose address is not accessible for the user. Their value is not altered during the course of the program. Literal

Luminous Jewels - The Polishing Game Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various lum

write a promgram using object oriented peramid

Create a function ValueDelta(char inName[], char outName[]) that reads a text file with option specifications and writes the option values as well as Delta. The inName[] file conta