which of the following is used for comments in c++
Answers
Answered by
0
Answer:
Single line comments
To create a single line comment, we use the // notation. Wherever you want to start the comment, start it with //. For example, // This is a comment cout<<"Hello"; // This is a comment following a statement.
Explanation:
please mark me brainliest answer
Answered by
4
Answer:
cout is use to print output and cin is use to take input
we can type a string constant in c++ within double quotes
to creat a single line comment we have to start it with '//' sign....
And to create a multiline coment we have to start with '/* ' sign and end the comment with '*/ ' sign......
mark me as brainliest......... pls✌
Similar questions