read-only memory and heap memory

Posted by benjamin button on Stack Overflow See other posts from Stack Overflow or by benjamin button
Published on 2010-06-10T06:26:44Z Indexed on 2010/06/10 6:32 UTC
Read the original article Hit count: 288

Filed under:
|

hi,

AFAIK, string literals are stored in read only memory in case of C language. where is this actually present on the hardware.

as per my knowledge heap is on RAM.correct me if i am wrong.

how different is heap from read only memory?

is it OS dependant?

© Stack Overflow or respective owner

Related posts about c

    Related posts about interview-questions