From where does the program allocates memory
As a C/C++ programmer I have used malloc /new to allocate memory. I am
just wondering how does the OS allocates memory ?
1) Does it allocates from RAM or from hard-disk or from somewhere else?
2) Can I borrow memory form hard disk just in case ?
No comments:
Post a Comment