See the bottom for how to submit your work.
Due: Before 0800 on next class day
|
address value (annotate variables p and q) 0x000000000000 ... 0x7ffff79351c4 0x7ffff79351c8 0x7ffff79351cc 0x7ffff79351d0 0x7ffff79351d4 0x7ffff79351d8 0x7ffff79351dc ... 0xffffffffffff |
int p;
p = 1;
cout << &p << endl;
{
int p;
cout << &p << endl;
}
cout << &p << endl;
1 in the first line of the output.
|
|
|
|
Note: each expression should be taken as independent. I.e. if one expression modifies some variable values, those modifications do not carry over to the next expression.
|
|
Turn in (Due: 0800 on the next class day)