Downloaded 51 times







C programming language supports two types of comments: single-line comments and multi-line comments. Single-line comments start with // and are used to comment individual statements. Multi-line comments start with /* and end with */ and can span multiple lines, making them useful for documentation at the beginning of code or for commenting blocks of code. Comments help explain the logic and flow of code but comments within comments are not allowed and will cause errors.






