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

who to write max if statements in a program

What is default constructor? explain it.

Write a program that finds the minimum total number of shelves, including the initial one required for this loading process.

#A Padovan string P(n) for a natural number n is defined as: P(0) = ‘X’ P(1) = ‘Y’ P(2) = ‘Z’ P(n) = P(n-2) + P(n-3), n>2 where + denotes string concatenation. For a string of

At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with thes

what is virtual datatype

simple coding for pebble merchant..

Define the Category of Function? A function, depending on whether arguments or parameters are present or not and whether a value returned or not, may belong to one of the foll

Difference between Echo and print statement. print()and echo() are language constructs in PHP, both are used to output strings. Both statements are of almost same Speed. ech