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*/
Download Our App
Download our app to know more Lorem ipsum dolor sit amet consectetur adipisicing elit.
Excepturi, esse.
YOU ARE NOT LOGIN
Unlocking possibilities: Login required for a world of personalized
experiences.