1.

What would be the output of the following program ?_x005F_x000D_ main()_x005F_x000D_ {_x005F_x000D_      const int x = 5; _x005F_x000D_       int *ptrx;_x005F_x000D_       ptrx = &x;_x005F_x000D_       *ptr = 10;_x005F_x000D_        printf ("%d", x);_x005F_x000D_ }

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


Discussion

No Comment Found

Related MCQs