C Programming :: Basic Concepts - Discussion
Home > C Programming > Basic Concepts > MCQs Questions Discussion
55 / 90
Choose the correct option.
In which of the cases, the content inside if statement will not execute
Aif(-100)
Bif(0)
Cif (23.45)
DAll of the above
Answer: Option (Login/Signup)
Show Explanation
Whereas, option B will not execute as 0 not equal to 0 is False, so the content inside if statement won't execute.
Therefore, correct option is B.
Asked In ::
TRICK
Option A and C will execute as both -100 and 23.45 are not equal to 0, so the test condition becomes True, hence the contect inside if statement will execute.
Whereas, option B will not execute as 0 not equal to 0 is False, so the content inside if statement won't execute.
Therefore, correct option is B.
Read Full Answer
Report Error
Please Login First Click Here