3 ms·
The layout of things on the stack is completely implementation-defined.
by saagarjha 8y ago
The layout of things on the stack is completely implementation-defined.
- sannee 8y agoIt has been a while since I read the standard, but this seems well into the realm of undefined behavior, not implementation defined.
- saagarjha 8y agoFrom my understanding, how the stack is laid out is implementation-defined; attempting to actually observe this ordering in your program is undefined behavior.