stack local war parameter
#include
int main() {
int num = 40;
Pointer Example
int 4bglers
pointer 8bytes
}
type
int *pt;
nvm
pt = #
int *anotherpt = #
*pt = 30;
printf(“%d\n”, *anotherpt);
return 0;
0
T.intptT
Section
stack frame for main
addreesof
Address
0x248
0x24c
0x250
0x254
0x258
0x25c
0x260
char
Value
1 bytes Label
dereferenceintxT ptI
i
int xp
int’t
int
pi
p
Tho
it
anotherpt
248