MCQOPTIONS
Saved Bookmarks
| 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 | |