What does extern mean in a function declaration?

Answer Posted / zxg

(from MSDN)
Functions declared as extern are visible throughout all source files in the program (unless you later redeclare such a function as static). Any function can call an extern function.

Function declarations that omit the storage-class specifier are extern by default.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what header files do I need in order to define the standard library functions I use?

649


What is volatile variable in c with example?

590


What is the difference between array_name and &array_name?

781


What is a pointer value and address in c?

636


What is double pointer in c?

593






Explain the array representation of a binary tree in C.

731


What is a method in c?

630


Write a code to generate a series where the next element is the sum of last k terms.

742


Can you think of a logic behind the game minesweeper.

2012


Are pointers really faster than arrays?

569


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

750


What do you understand by friend-functions? How are they used?

652


What are the back slash character constants or escape sequence charactersavailable in c?

691


How can you tell whether a program was compiled using c versus c++?

622


what is the diffrenet bettwen HTTP and internet protocol

1396