

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of the following 'C' program ? #include void main () { const int x = 5; const int *ptrx; ptrx = &x; *ptrx = 10; printf("%d", x); } |
A. | 5 |
B. | Compilation Error |
C. | 10 |
D. | Garbage value |
Answer» C. 10 | |