search
Q: Which of the following is a correct comment in C++? C++ में निम्नलिखित में से कौन सा सही कमेंट है?
  • A. /* Comment */
  • B. */ Comments */
  • C. { Comment }
  • D. ** Comment **
Correct Answer: Option A - C++ में Comment दो प्रकार के होते है- (i)Single line comment //(double slash) कमेंट का टर्मिनेशन की दबाकर किया जाता है। (ii) multi line comment /* comment*/
A. C++ में Comment दो प्रकार के होते है- (i)Single line comment //(double slash) कमेंट का टर्मिनेशन की दबाकर किया जाता है। (ii) multi line comment /* comment*/

Explanations:

C++ में Comment दो प्रकार के होते है- (i)Single line comment //(double slash) कमेंट का टर्मिनेशन की दबाकर किया जाता है। (ii) multi line comment /* comment*/