How many types of comments are there in c++?

a) 1
b) 2
c) 3
d) 4

1 thought on “ How many types of comments are there in c++?”

  1. b
    Explanation: There are two types of comments in C++. Single line comments uses double slash //. Multiple line comments uses /* comment inside */.

Leave a Comment