Comments
Notes for humans that the compiler ignores.
Beginner
/* block comment */ works everywhere; // line comment since C99. Explain why, not what. Block comments don't nest — use #if 0 … #endif to disable code containing comments.
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.