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. |
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...
|
|||||||
| Database Design Disucss if you have any issues with Database Design and Concepts |
![]() |
| LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| The Following 2 Users Say Thank You to Rana Tariq Yaqub For This Useful Post: | ||
| Sponsored Links |
|
|||
|
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. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
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 |