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...


What is the difference between stack and heap memory?



What is the difference between stack and heap memory?..

Answer / nashiinformaticssolutions

o Stack: Memory is allocated and deallocated automatically.
o Heap: Memory is allocated dynamically using new or malloc.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is problem with overriding functions?

0 Answers  


what does the following statement mean? int (*a)[4]

0 Answers  


What are smart pointers?

3 Answers  


What are the two types of comments?

0 Answers  


How to get the current position of the file pointer?

0 Answers  


What are the sizes and ranges of the basic c++ data types?

0 Answers  


write a program in c++ to implement stack using functions in header file stack.h

3 Answers   Google, Subex,


Can a built-in function be recursive?

0 Answers  


Can a new be used in place of old mallocq? If yes, why?

0 Answers  


What is the default width for ouputting a long integer using the insertion operator?

0 Answers  


What is meant by entry controlled loop?

0 Answers   Agilent, ZS Associates,


Do inline functions improve performance?

0 Answers  


Categories