Comments (C)

Comments in C are written either between /* and */, or in C99 and C89 with GNU extensions, with // and extending to the end of the line.

#include "stdio.h"
int main(void){
    puts("Hello, World");
    /*This text is ignored*/
    puts("Goodnight, Moon");
    //and so is this, at least in C99
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License