MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following program?#includevoid main(){int i = 10;void *p = &i;printf("%d\n", (int)*p);} |
| A. | ompiler time error |
| B. | egmentation fault/runtime crash |
| C. | 0 |
| D. | ndefined behavior |
| Answer» B. egmentation fault/runtime crash | |