[2 marks]Read the program below before answering the question.#include void main() {int s = 5, t = 6, u = 7;int *x, *y, *z;x = &sy = x;z = &t*y = *y + 1;u = *z;x = 0x4000;printf("s = %d\n", s);printf("t = %d\n", t);printf("u = %d\n", u);printf("x = %p\n", x);printf("y = %p\n", y);printf("z = %p\n", z);}Which one of the following statements is correct?
选项:
A:Statement “printf("u = %d\n", u);” prints the address of z.
B:Statement “printf("z = %p\n", z);” prints the address of t.
C:Statement “printf("z = %p\n", z);” prints the address of z.
D:Statement “printf("u = %d\n", u);” prints the address of t.
选项:
A:Statement “printf("u = %d\n", u);” prints the address of z.
B:Statement “printf("z = %p\n", z);” prints the address of t.
C:Statement “printf("z = %p\n", z);” prints the address of z.
D:Statement “printf("u = %d\n", u);” prints the address of t.
发布时间:2024-06-17 21:36:17