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?

Answers were Sorted based on User's Feedback



In which area global, external variables are stored?..

Answer / vishnu

Global variables if not initialised when decleared then it
will be stored in BSS(Block Segmented by Symbol). If it is
initilised then it will be stored in Data area.
Extern variables are stored int Data area.

Is This Answer Correct ?    6 Yes 0 No

In which area global, external variables are stored?..

Answer / 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

In which area global, external variables are stored?..

Answer / mrinal

The global or external variables are stored on the HEAP.

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More C Interview Questions

How can I invoke another program or command and trap its output?

0 Answers  


How can you pass an array to a function by value?

0 Answers  


What is typedf?

0 Answers  


how can i print "hello".please consider inverted commas as well.i want to print on console: "hello"

4 Answers   Wipro,


int i=10; printf("%d %d %d", i, i=20, i);

0 Answers  


By using C language input a date into it and if it is right?

0 Answers   Aricent,


Why do we use & in c?

0 Answers  


what is the difference between structure and union?

3 Answers  


How can a program be made to print the line number where an error occurs?

0 Answers  


write an interactive program to generate the divisors of a given integer.

7 Answers   TCS,


Explain the difference between malloc() and calloc() in c?

0 Answers  


What is RAM memory? and What is ROM?Who designed one is temparary and another is permanent?why they designed like that?By using far pointer which type data(whether hexadecimal)we can access?

1 Answers   Excel,


Categories