What will be the output of the following program on GCC compiler?

Loading

โœช Choose the correct option.

What will be the output of the following program on GCC compiler?

#include   
int main() {
int x=30, *y, *z;
y = &x; /* Assume address of x is 500 */
z = y;
*y= *z;
x++;
printf("x=%d, y=%u, z=%u ", x, *y, z);
return 0;
}

A. x=31, y=502, z=502
B. x=30, y=500, z=500
C. x=31, y=498, z=498
D. x=31, y=500, z=500