-,
main(),
a b
--------------
| 5 | 6 | <- data
--------------
[1000] [1004] <- address
foo(),
a b ( local to foo(), different from the a & b in main() )
----------------
| 1000 | 1004 | <- data
----------------
[2000] [2004] <- address
, foo(),
*a = 5;
*b = 6;
a = b;
, foo():
a b
----------------
| 1004 | 1004 | <- data
----------------
[2000] [2004] <- address
user191776