4 ms·
The C standard does not talk about a heap or the stack; you could implement a "heap" by handing out pointers from the top level stack frame if you wanted to.
by saagarjha 7y ago
The C standard does not talk about a heap or the stack; you could implement a "heap" by handing out pointers from the top level stack frame if you wanted to.
- camgunz 7y agoIs this important? By far the common case in C is using heap allocation as implemented by your libc or crt. It's pretty essential knowledge.