C-16-Q113mediumsingle_mcq
The condition used in an if statement is generally:
The condition used in an if statement is generally:
- aa numeric constant only
- ba string of characters only
- cone or more logical or relational expressions
- da comment
ব্যাখ্যা
An if condition must evaluate to a true/false (Boolean) result, which is produced by logical or relational expressions. A bare constant, plain string, or comment does not represent the kind of testable condition the statement requires.