CrazyEngineers
  • heap memory

    yoge05

    Member

    Updated: Oct 16, 2024
    Views: 1.8K
    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
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • rishi0922

    MemberSep 29, 2010

    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 ..
    Are you sure? This action cannot be undone.
    Cancel
  • yoge05

    MemberSep 29, 2010

    k thanks........
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register