MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code? #include void main() { int x = 0; int *ptr = &x; printf("%d\n", *ptr); } |
| A. | Address of x |
| B. | Junk value |
| C. | 0 |
| D. | Run time error |
| Answer» D. Run time error | |