MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following C code?#include <stdio.h> void main() { char num1 = '2'; char num2 = 'N'; int num3 = num1 && num2 || '2'; printf("%d n", num3); } |
| A. | N |
| B. | 0 |
| C. | 1 |
| D. | Compilation Error |
| E. | Garbage value |
| Answer» D. Compilation Error | |