Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position


Join the forum, it's quick and easy

Virtual Position Forum
Please register to watch content in detail
Thanks
Admin virtual position
Virtual Position Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

difference between Heap and Stack memory

View previous topic View next topic Go down

GMT + 3 Hours difference between Heap and Stack memory

Post by sharmila farooqi Sun May 29, 2011 6:41 pm

Could you please explain the difference between Heap and Stack memory, Do we have any restriction on limitation on each of the memory type,
thanks
avatar
sharmila farooqi
Monstars
Monstars

Posts : 35
Join date : 2011-05-29

Back to top Go down

GMT + 3 Hours Re: difference between Heap and Stack memory

Post by Vuhelper Sun May 29, 2011 6:41 pm

Heap and stack are both memory area. The primitive data types are created on stach whereas objects are created on heap memory area. The stack stores the reference of an object (stored on heap).
avatar
Vuhelper
Deep Bench
Deep Bench

Posts : 97
Join date : 2011-05-29

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum