C++ Comments

// // This is a single-line comment in C++. //

/ This is a multi-line comment in C++. It can span multiple lines. /

// TODO: Add explanation for each step of the code here.

// Example: int main() { // This is a single-line comment on the same line as code. int x = 5; // This is an inline comment explaining the variable initialization return 0; }