C++ COURSE

C++ Comments

Learn C++ programming with EDUHUB Code Hub.

C++ Comments

Comments are used to explain code. They are ignored by the compiler.

Single Line Comment



// This is a comment

cout << "Hello";

Multi Line Comment



/*
This is
a multi line
comment
*/