Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Heap and stack memory

This is a discussion on Heap and stack memory within the Database Design forums, part of the Databases category; hi everybody, wishing all people very best of life time... what is differance between Stack and Heap memory with this concept used in C++ thanks...

Go Back   Geeks Talk > Databases > Database Design
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

Database Design Disucss if you have any issues with Database Design and Concepts

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-28-2008
Junior Member
 
Join Date: Feb 2008
Location: Pakistan
Posts: 1
Thanks: 0
Thanked 2 Times in 1 Post
Rana Tariq Yaqub is on a distinguished road
Heap and stack memory

hi everybody,
wishing all people very best of life time...

what is differance between Stack and Heap memory with this concept used in C++

thanks
Reply With Quote
The Following 2 Users Say Thank You to Rana Tariq Yaqub For This Useful Post:
Sponsored Links
  #2 (permalink)  
Old 07-21-2009
Junior Member
 
Join Date: Apr 2009
Location: noida
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
nupurs777 is on a distinguished road
Re: Heap and stack memory

Stack


When a function or a method calls another function which in turns calls another function etc., the execution of all those functions remains suspended until the very last function returns its value.

This chain of suspended function calls is the stack, because elements in the stack (function calls) depend on each other.

The stack is important to consider in exception handling and thread executions.

Heap
The heap is simply the memory used by programs to store variables.
Element of the heap (variables) have no dependencies with each other and can always be accessed randomly at any time.
Reply With Quote
Reply

  Geeks Talk > Databases > Database Design

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
how can i increase heap memory? ramakris143 Java 1 02-04-2008 03:59 AM
MemoryCleaner performs fast and powerful memory sweep, removing wasted memory blocks, JobHelper Geeks Lounge 0 10-06-2007 07:13 AM
Deallocating dynamically allocated heap JobHelper C and C++ 4 07-25-2007 06:38 AM
At which memory, VB Coding is stored like hot memory Subashini.Ramasamy VB.NET 0 07-10-2007 09:43 AM
Request object error 'ASP 0107 : 80004005' Stack Overflow jibijoseph ASP.NET 1 03-28-2007 07:54 AM


All times are GMT -4. The time now is 11:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved