+ 7

How does the memory get allocated for pointers?

Does it have any communication with the kernel and operating system to do so?how does it get the memory address of the free memory available?

17th Jan 2019, 4:10 AM
Narayan Bhat
Narayan Bhat - avatar
6 Respostas
17th Jan 2019, 8:40 PM
AKS
AKS - avatar
+ 3
Pointers have fixed size which depends on architecture and OS. They are on stack. If you're asking how is memory allocated on heap, that is very low level kernel programming and you need to know how kernel interacts with hardware
17th Jan 2019, 6:54 AM
Elva
Elva - avatar