what does keyword ‘extern’ mean in a function declaration?

Answer Posted / vadivel t

Extern int a; -> means that, a int variable called 'a;
defined in any of the source file in the project and can be
accessed here in the file using extern declaration.

Is This Answer Correct ?    19 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

using for loop sum 2 number of any 4 digit number in c language

1996


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

896


program to convert a integer to string in c language'

2195


What are the different types of endless loops?

829


When should the const modifier be used?

859


write a program fibonacci series and palindrome program in c

801


What is the difference between the expression “++a” and “a++”?

852


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

2363


what are bit fields? What is the use of bit fields in a structure declaration?

1775


What is the use of volatile?

825


What will be your course of action for a push operation?

848


Is c pass by value or reference?

805


What is default value of global variable in c?

754


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

921


Find the second largest element in an array with minimum no of comparisons and give the minimum no of comparisons needed on an array of size N to do the same.

1002