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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of dot in c++?

1086


How java is different from c and c++?

1202


Can you explicitly call a destructor on a local variable?

1030


What does obj stand for?

1172


Explain the static member function.

1189


What kind of jobs can I get with c++?

1116


Define token in c++.

1147


Is java the same as c++?

994


What is the benefit of encapsulation?

1078


What are static type checking?

1056


What are the various arithmetic operators in c++?

1132


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

1135


What is long in c++?

1249


What is c++ best used for?

1068


What does namespace mean in c++?

1078