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

Are global variables static in c?

1218


How can I change their mode to binary?

1185


What is character set?

1216


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

2025


Do you know what are bitwise shift operators in c programming?

1154


Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.

1155


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

1176


What are the properties of union in c?

1111


What is a #include preprocessor?

1222


i got 75% in all semester am i eligible for your company

2265


What are the rules for identifiers in c?

1120


Are bit fields portable?

1207


Explain a file operation in C with an example.

1173


What is the difference between text and binary modes?

1240


What does %2f mean in c?

1283