MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> int main() { int p = 0; if (p == 1) if (p == 0) printf("Inside if block executed... n"); else printf("Inside else if block executed... n"); else printf("Inside else block executed... n"); } |
| A. | Inside else block executed... |
| B. | Inside if block executed... |
| C. | Inside else if block executed... |
| D. | Compilation Error |
| E. | None of these |
| Answer» B. Inside if block executed... | |