Multi Line Comments in C 18 - Printable Version +- QP School (https://qomplainerzschool.lima-city.de) +-- Forum: Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=3) +--- Forum: C 18 Tutorials (https://qomplainerzschool.lima-city.de/forumdisplay.php?fid=32) +--- Thread: Multi Line Comments in C 18 (/showthread.php?tid=3349) |
Multi Line Comments in C 18 - Qomplainerz - 04-06-2022 Multi line comments span over two or more lines and are ignored by the compiler. In C they start with a slash and an asterisk /* and they end with an asterisk and a slash */. In this case we do NOT need a semicolon at the end of the line. Example: #include <stdio.h> int main() { /* This is a multi line comment */ return 0; } |