MCQOPTIONS
Saved Bookmarks
| 1. |
Q: What would be the output of the following program ? main() { const int x = 5; int *ptrx; ptrx = &x; *ptr = 10; printf ("%d", x); } |
| A. | 5 |
| B. | 10 |
| C. | Error |
| D. | Garbage value |
| Answer» C. Error | |