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?