C-17-Q005mediumsingle_mcq
If the condition of a single if is false:
If the condition of a single if is false:
- aThe body is executed once
- bThe body is skipped and execution continues with the next statement
- cThe program halts with an error
- dThe condition is re-evaluated until true
ব্যাখ্যা
A single if only runs its body when the condition is true; when the condition is false the indented body is skipped entirely. Execution then continues normally with the first statement after the if block, without any error or repetition.