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

What is the use of getchar() function?

0 Answers  


Which of the following are valid "include" formats? A)#include and #include[file.h] B)#include (file.h) and #include C)#include [file.h] and #include "file.h" D)#include <file.h> and #include "file.h"

15 Answers   Accenture,


What is the difference between array_name and &array_name?

0 Answers  


struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer

0 Answers  


What is period operator in c?

3 Answers   Wipro,






to find the closest pair

0 Answers   Infosys,


implement general tree using link list

1 Answers   Wipro,


What is union and structure?

0 Answers  


sir i wanted to know how we wap in c to add numbers without using arithmetic operator in which digits are entered by user?

2 Answers  


Program to write some contents into a file using file operations with proper error messages.

2 Answers  


What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?

0 Answers   Aspire, Infogain,


How do you print an address?

0 Answers   TCS,


Categories