In other words, process A uses a mem-page and writes data to it, then frees it (or crashes without freeing), then process B is allocated memory from that page, will process B see data written by A?
If not, and the OS clears the page, why do I see random data in memory? For example, when executing:
i contains some random value, usually not 0x00000000 or 0xffffffff.
This question came up when studying for an Operating Systems course, so it relates to what an OS is "supposed" to do.