heap memory
hi,
In C whenever memory is allocated dynamically (eg:malloc), the memory allocated is heap memory , but is this a virtual memory or secondary memory? plz reply
In C whenever memory is allocated dynamically (eg:malloc), the memory allocated is heap memory , but is this a virtual memory or secondary memory? plz reply
Replies
-
sushant005first heap memory is a part of main memory and is logical concept is not pre allocated and as you said dynamically (malloc) so it is a dynamic allocation of meory in RAM is called as heap memory.But i think it not exactly taking all the part of memory it also takes some of the part of virtual memory.
do me correct if i m wrong. -
ReyaHeap is a region of contiguous virtual memory takes up a whole page or a fraction of page for storage.
You are reading an archived discussion.
Related Posts
How can i present a paper in any of the iits..the procedures to be done.can anyone plz help...
The most waited PlayStation Move motion controller is now coming to Indian market .
Sony has introduced this concept of move motion in gaming zone.The PlayStation Move motion controller is...
Hi.
Can anyone tell me more about quantity surveying?
I have completed b.tech in mechanical engg.
hello friends,
I want to know that how the size is made for the clusters. Is it made by our operating system during the formatting of hard disk drive and...
hi... i need help in retrieving date from phpmyadmin -database. php getdate() gives system date. but i need to retreive database date and not systemdate. the sql queries like current_timestamp,local_timestamp...