Question
Is the following comment written using single-line or multi-line comment symbols?/* This program was written by M. A. Codewriter*/
Step 1
In many programming languages, single-line comments are typically denoted by `//`, while multi-line comments are denoted by `/*` to start and `*/` to end. Show more…
Show all steps
Your feedback will help us improve your experience
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
'4. Which of the following is used for comments in C++? a) // comment b) comment */ both // comment or /* comment */ d) // comment */'
Watch the video solution with this free unlock.
EMAIL
PASSWORD