Quiz A - Pointers

For this section you may not use any other sites such as Repl or CodeAnywhere.

Answer the questions in this Quiz based on the code below.

int x, y;
int *p1, *p2, *p3;

p1 = &x;
x = 15;
*p1 = 20;
p2 = &y;
*p2 = x + 5;
p3 = p1;
*p3 = 555;
p3 = x;

// HERE

printf("x = %d, y = %d\n", x, y);
printf("*p1 = %d\n", *p1);
printf("*p2 = %d\n", *p2);
printf("*p3 = %d\n", *p3);

Next…

You may not proceed to the next section until you submit your Quiz.
Then go here.