c Solutiona It prints No num
c++
Solution
a)
It prints \"No\" num<200 is true and negation is false
b)
It prints \"if!\" because num is not positive;
c)
It prints\"else\" because target!=1 it does not print 1, second condtion is false as target =0;
______________________________________
next paper
A) prints win, condition num==200 is true, negation is false , and its negation again is true
if first condition is true , it ignores the rest of the conditions.
b)It prints \"could be\"
first condition is false, as num is not negative
second condition is true as num is positive.
c)it prints else
condition 1 sets num =0; and it is false as num=0
condition 2 is false as num=0,
thus it executes else block.
