1.

What will be the output of the program?

#include<stdio.h> int main()
{ const int x=5; const int *ptrx; ptrx = &x; *ptrx = 10; printf("%d n", x); return 0;
}

A. 5
B. 10
C. Error
D. Garbage value
Answer» D. Garbage value


Discussion

No Comment Found