Single-line comments start with two forward slashes ( // ). Any text between // and the end of the line is ignored by the compiler (will not be executed).
![](https://adcod.com/wp-content/uploads/2022/12/which-symbol-is-used-for-comments-in-c.png)
Single-line comments start with two forward slashes ( // ). Any text between // and the end of the line is ignored by the compiler (will not be executed).