MCQOPTIONS
Saved Bookmarks
| 1. |
What will be output when you will execute following c code?#include void main()_x005F_x000D_ {Â Â Â Â switch(2)_x005F_x000D_ Â Â Â {Â Â Â Â Â Â case 1L:printf("No");Â Â Â Â Â Â case 2L:printf("%s","I");Â Â Â Â Â Â Â goto Love;Â Â Â Â Â Â case 3L:printf("Please");Â Â Â Â Â Â case 4L:Love:printf("Hi");Â Â Â Â } } |
| A. | I |
| B. | IPleaseHi |
| C. | IHi |
| D. | Compilation error |
| Answer» D. Compilation error | |