Vidyalelo
C++ Programming · Q102

Variables and Data Types in C++

Programming · C++ Programming · question 102

Q102

For what values of the expression is an if-statement block not executed?

A.
0 and all negative values
B.
0 and -1
C.
0
Answer
D.
0, all negative values, all positive values except 1

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board