C-17-Q051mediumsingle_mcq
For num = 0, the program prints:
For num = 0, the program prints:
- aThe number is positive
- bThe number is negative
- cIt is zero
- dInvalid number
ব্যাখ্যা
With , both > 0 and < 0 are false, so control falls through to the else branch, which reports zero.