Order of variable declaration in asm x86?
问题 Here the piece of code : int main() { char buffer[64]; int check; ... As you can see, check is declared AFTER buffer , so in the stack, we must have check ABOVE buffer in the stack right? However, when I disassembly (x86) it with gdb, this is what I got : --> check at 0xbffff4f8 --> buffer at 0xbffff4b8 My question : is there a specific order in the stack for local variable? Also, I have to tell you that I tried the same thing on another computer (x86 too, same gcc compilation options, but