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

Differentiate between declaring a variable and defining a variable?

834


What is wrong with this initialization?

789


Why is main function so important?

853


Describe how arrays can be passed to a user defined function

1028


How can I handle floating-point exceptions gracefully?

889


What is echo in c programming?

759


Explain the use of #pragma exit?

925


Is calloc better than malloc?

794


What's the right way to use errno?

870


How can you draw circles in C?

864


What is d scanf?

803


Can you add pointers together? Why would you?

893


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

955


What are structure members?

838


Which is best linux os?

777