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...

In which area global, external variables are stored?

Answer Posted / samrat

Global & static variables are stored in data segment.

If we look at other types.. Local Variables are stored in the Stack. Register variables are stored in Register.

Dynamically allocated memory uses the Heap. Instructions are stored in code segment and the extern variables are stored in the data segment.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is data type long in c?

1026


What is a 'null pointer assignment' error?

1162


When should the register modifier be used? Does it really help?

919


Why is c called a mid-level programming language?

1153


What is conio h in c?

1001


Why do we use return in c?

951


Does c have class?

1051


Why do we use static in c?

1066


How do you generate random numbers in C?

1146


Explain how can I write functions that take a variable number of arguments?

1028


What is structure in c definition?

984


How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?

977


Explain how do you determine whether to use a stream function or a low-level function?

1026


What is a static variable in c?

1067


What are the 5 types of organizational structures?

1019