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 the correct declaration of main?

1208


What is a memory leak? How to avoid it?

1341


Is swift based on c?

1105


Why we use int main and void main?

1077


What is the difference between near, far and huge pointers?

1096


What is the process to create increment and decrement stamen in c?

1059


Explain how do you declare an array that will hold more than 64kb of data?

1451


What are predefined functions in c?

1094


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1002


How can I change the size of the dynamically allocated array?

1149


The % symbol has a special use in a printf statement. Explain how would you place this character as part of the output on the screen?

1210


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

3918


What does void main return?

1121


What is output redirection?

1220


What is atoi and atof in c?

1086