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
D. 0, all negative values, all positive values except 1
Answer: Option C
Related Questions on Variables and Data Types in C plus plus
Which of the following is a valid variable name in C++?
A. myVariable
B. 123variable
C. variable&
D. float
What is the data type of the variable 'x' in the following declaration: double x = 3.14;?
A. int
B. double
C. float
D. char

Join The Discussion