Important MCQ

A multi-line comment is written as

Q.A multi-line comment is written as

A) ## ... ##
B) <!-- -->
C) /* ... */
D) // ... //
Correct Answer:
Option C
Detailed Explanation:
C) /* ... */ is correct. A C++ program starts execution in main(). Statements normally end with semicolons; // and /*...*/ are comments, and the compiler translates source code into machine code.