What changes occur to address space, pages and segments of a process when we allocate memory at runtime using malloc()/calloc()/realloc() system calls, on Linux and Windows? What happens to address space, pages and segments when we free() those allocated memory.
This is OS related theoretical question