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

Why we not create function inside function.

1985


in iso what are the common technological language?

1879


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1018


Can a program have two main functions?

869


What is data structure in c and its types?

834


What are external variables in c?

799


Why do some versions of toupper act strangely if given an upper-case letter?

855


What does char * * argv mean in c?

828


What are the benefits of organizational structure?

807


What is pragma c?

864


In which header file is the null macro defined?

1134


Write a code to remove duplicates in a string.

843


Differentiate between full, complete & perfect binary trees.

876


Are c and c++ the same?

813


What is the use of sizeof?

775