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
Program is to read the characters from keyboard: Program is to read the characters from keyboard one by one stored in different files as upper constants, lower constants, othe

what is an array?

Array of Objects A class is a template, which can contain data items as well as member functions to operate on the data items. Various objects of the class can also be declared

Define Commonly Used Built-in Library Functions? Comprise opened a file pointer you will desire to use it for either input or output. The C language supplies a set of functions

requiredrequiredrequiredrequiredrequiredrequiredrequiredrequired

C program for function  of average int average(int); void main() {           int max=0,c=0;           clrscr();           printf("ENTER THE LIMIT OF INPUT FOR AV

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

Write a program to get the largest element in an array using Function? # include int largest(int b[],int); main() { int lar,a[5]={12,2,36,40,5}; lar=largest(a,n); printf("

A: This will turn o_ "name mangling" for func so that one can connect to code compiled by a C compiler.

polishing the jewel game with c coding