C-17-Q049mediumsingle_mcq
For num = 7, the program prints:
For num = 7, the program prints:
- aThe number is positive
- bThe number is negative
- cIt is zero
- dInvalid number
ব্যাখ্যা
Since , the first condition is true, so the program reports the number as positive. The negative and zero branches are never reached.