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
Implement a Algorithm to verify if the link list is in Ascending order? A: template bool linklist::isAscending() const{ nodeptr ptr = head; while (ptr->_next)

Project Description: I posted listings on a site that is like eBay but for video games. I post the similar listing many times daily, but need something that will let me post

how to search, display all data and delete data

Ravi is a newbie to the programming and while learning the programming language he came to know the following rules: · Each program must start with ''''''''{'''''''' and end wi

We are now quite happy to use the basic mathematical expressions, however in engineering we use scientific functions i.e Sin , Cos  , ln etc . Within C we have the following functi

Explain Processing A Data File? Mainly data file applications needs that a data file be altered as it is being processed. For instance in an application involving the processin

Develop a client and a server for an instant messaging system based on UDP and IPv4

What about Virtual Destructor? describe it.

What is constructor or ctor? need help

Rules for overloading an operator This summarizes the most significant points you need to know in order to do operator function overloading. The only operators you may o