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



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

Answer / 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

More C Interview Questions

while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?

4 Answers   Aptech,


What is huge pointer in c?

0 Answers  


Is it possible to pass an entire structure to functions?

0 Answers  


What is the use of ?

0 Answers  


write a program that eliminates the value of mathematical constant e by using the formula e=1+1/1!+1/2!+1/3!+

1 Answers   Reliance,






what are the facialities provided by you after the selection of the student.

0 Answers   TCS,


1. Write the function int countchtr(char string[ ], int ch); which returns the number of times the character ch appears in the string. Example, the call countchtr(“She lives in NEWYORK”, ‘e’) would return 3.

4 Answers  


What is difference between && and & in c?

0 Answers  


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

0 Answers   Wipro,


what is the syallabus of computer science students in group- 1?

0 Answers  


The C language terminator is a.semicolon b.colon c.period d.exclamation mark

6 Answers   TCS,


if p is a string contained in a string?

0 Answers  


Categories