1. In C, when you call free() to free some memory that has been allocated, you provideas arguments 1) a pointer to the a
Posted: Fri May 20, 2022 10:17 am
1. In C, when you call free() to free some memory that has been
allocated, you provideas arguments 1) a pointer to the allocated
memory and 2) the number of bytes thatwere allocated.
True
False
2. In C, when a function is called, the address that the
function should return to whenfinished is stored in the heap memory
region.
True
False
3. During address translation with segmented memory, where
are the base and boundsvalues for a process normally stored?
a. in registers of the CPU
b. in memory (in other words, RAM)
c. in registers of the memory management unit
allocated, you provideas arguments 1) a pointer to the allocated
memory and 2) the number of bytes thatwere allocated.
True
False
2. In C, when a function is called, the address that the
function should return to whenfinished is stored in the heap memory
region.
True
False
3. During address translation with segmented memory, where
are the base and boundsvalues for a process normally stored?
a. in registers of the CPU
b. in memory (in other words, RAM)
c. in registers of the memory management unit