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

What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

914


we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?

813


What are the difference between a free-standing and a hosted environment?

752


Why is it usually a bad idea to use gets()? Suggest a workaround.

918


How can I manipulate strings of multibyte characters?

644






Explain what is wrong with this program statement? Void = 10;

769


Explain what are multidimensional arrays?

612


given post order,in order construct the corresponding binary tree

2335


List the difference between a While & Do While loops?

644


Explain how can I remove the trailing spaces from a string?

633


What does 1f stand for?

619


What is c method?

542


How can I write a function that takes a format string and a variable number of arguments?

612


What is use of bit field?

781


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2343