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

What is the use of extern in c?

0 Answers  


can anyone please tell about the nested interrupts?

0 Answers  


Explain the difference between getch() and getche() in c?

0 Answers  


f() { int a=2; f1(a++); } f1(int c) { printf("%d", c); } c=?

7 Answers   Geometric Software,


Describe newline escape sequence with a sample program?

0 Answers  


What are pointers? What are different types of pointers?

0 Answers   Fidelity,


write a programming in c language, 1 3 5 7 9 11

2 Answers   NIIT,


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

0 Answers   Wipro,


main() { static char *s[]={"black","white","yellow","voilet"}; char **ptr[]={s+3,s+2,s+1,s}, ***p; p=ptr; **++p; printf("%s",*--*++p+3); }

1 Answers  


what is the difference between normal variables and pointer variables..............

15 Answers   HP, Infosys, Satyam, Vivekanand Education Society,


Are local variables initialized to zero by default in c?

0 Answers  


what is difference between overriding and overloading?

1 Answers  


Categories