C-17-Q012mediumsingle_mcq
Inside the body of if or else, what kind of statements may be used?
Inside the body of if or else, what kind of statements may be used?
- aOnly print statements
- bOnly assignment statements
- cAny valid simple or compound statement
- dOnly loops
ব্যাখ্যা
The body of an if or else may contain any valid statement — simple ones like assignments and print, or compound ones like nested if blocks and loops. There is no restriction limiting it to a single statement type.