Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What does extern mean in a function declaration?

Answer Posted / aravind

Extern is nothing but a memory storage type.If we declare extern before the function than the variable can be accessed by that function not only locally but externally too.
extern int a=4
Int fun (int x)
{
x=a;
print gives a=4

Is This Answer Correct ?    8 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can the sizeof operator be used to tell the size of an array passed to a function?

1057


How can I delete a file?

1016


Where is volatile variable stored?

1026


Why main function is special give two reasons?

1483


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3848


What happens if a header file is included twice?

985


What is the use of sizeof () in c?

993


Write a simple code fragment that will check if a number is positive or negative.

1101


Write a c program to demonstrate character and string constants?

2114


Explain #pragma statements.

979


What is ambagious result in C? explain with an example.

2551


How can I generate floating-point random numbers?

1041


FILE PROGRAMMING

2179


What is the purpose of main() function?

1184


What is graph in c?

1008