Which pair of symbols encloses the body of main()?
Q.Which pair of symbols encloses the body of main()?
A) ( )
B) [ ]
C) { }
D) < >
Correct Answer:
Option C
Detailed Explanation:
C) { } is correct. Apply the relevant C++ rules: integer versus floating-point division, remainder, operator precedence, loop execution, ternary selection, data types, and the syntax of main().