Home > other >  C local variables stored in where
C local variables stored in where

Time:03-09

C language is stored in the stack for local variables?
int i=0;
0026150 b mov dword PTR [I], 0
The disassembly of the sentences, dword PTR [I] data segment, isn't it?

CodePudding user response:

Local variables, unless by static modified, it is on the stack; A pseudo assembly statement like you look not to come out, whether mov dword PTR ds: [00604883], 0 or mov dword PTR ss: [ebp - 10 h], 0
  • Related