1.

What is used to write multi line comment in c++?(a) /* …. */(b) /$ ….$/(c) //(d) /$ …. */I have been asked this question in homework.My doubt is from Comments and Indentation in section Functions, Namespaces & Exceptions in C++ of C++

Answer»

Right option is (a) /* …. */

For EXPLANATION: The /* is used to WRITE the multi line COMMENT.



Discussion

No Comment Found

Related InterviewSolutions