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

Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5646


What extern c means?

1005


Are global variables static in c?

1167


What are structure types in C?

1103


What is pointers in c with example?

1078


How was c created?

1064


Why isn't any of this standardized in c? Any real program has to do some of these things.

1213


What is huge pointer in c?

1087


What is cohesion in c?

983


Does c have class?

1121


What are the functions to open and close file in c language?

1204


What are structure members?

1094


Why should I use standard library functions instead of writing my own?

1272


What is the difference between far and near in c?

1070


main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }

1158