6. Suppose that in a C program, pieces of statements are given as follows.
int x=5;
int *xPtr;
...
x=x+5;
xPtr=&x;
...
After compiling the program, the variable x is allocated at 001234 and the variable xPtr is at 002468, as illustrated below.
| Main Memory | |
| --- | --- |
| Address | Content |
| 000005 | 35 |
| ... | |
| 000010 | 27 |
| ... | |
| 001234 | |
| ... | |
| 002468 | |
| ... | |
After executing the program, what are the outputs of
(a) (2%) &x