C-17-Q010mediumsingle_mcq
The condition used inside an if...else typically consists of:
The condition used inside an if...else typically consists of:
- aOnly arithmetic expressions
- bOne or more logical or relational expressions
- cOnly string literals
- dOnly function calls
ব্যাখ্যা
The test in an if...else is a Boolean expression, built from relational operators (like >=, ==) and/or logical operators (and, or, not). Such expressions evaluate to true or false, which decides which block runs.