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

Why we use void main in c?

1112


How are structure passing and returning implemented?

1002


Explain null pointer.

1055


What is oops c?

1139


Is it better to bitshift a value than to multiply by 2?

1062


Explain what does the function toupper() do?

1018


How arrays can be passed to a user defined function

980


Is boolean a datatype in c?

1021


Why do we use namespace feature?

1019


Lists the benefits of c programming language?

1079


What is a ternary operator in c?

1067


What will be your course of action for a push operation?

1065


What is the data segment that is followed by c?

1040


What is a pointer in c plus plus?

1239


Is linux written in c?

1002