Are braces necessary if the compound block within braces consists of only one statement?
a) Yes, braces are always necessary for a compound block, regardless of the number of statements.
b) No, braces are optional if the compound block contains only one statement.
c) Yes, braces are required for clarity and good coding practices.
d) No, braces are needed only when there are multiple statements in the compound block.

Q&A Platform for Education
Platform Explore for Education