heap memory

hi,
In c whenever dynamic memory allocation functions (eg:malloc) are used ,memory is allocated in heap , but whether this is a virtual memory or secondary memory ?
plz reply

Replies

  • rishi0922
    rishi0922
    The heap allows programs to allocate memory exactly when they need it during the execution of a program.

    I think heap memory is the virtual memory because it lasts for some time ..
  • yoge05
    yoge05
    k thanks........

You are reading an archived discussion.

Related Posts

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
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...