What is heap memory that is used to store global & static variables of C.

Questions by svyengalwar

Showing Answers 1 - 6 of 6 Answers

Vishwas.p

  • Feb 8th, 2008
 

 Data - int char[]="hello".......constants not intiliazed to zero.

 BSS( Block started by symbol) - static int i....... all global and static variables

 stack  - variables,pointers with values

 Heap - dynamic allocation using malloc,realloc,new etc..

 
 Data, BSS, stack together referred as Data Segment...


  Hope tht answers the query

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions