C Basic 20: Comment

4 January 2020, 11:01 pm by antelove19

C programming language

C programming language



Happy Coding


main.c

/* ------------------------------------------------------------ */
/*  Comment                                                     */
/*  Single, multi and documentation                             */
/*                                                              */
/*  Author: antelove                                            */
/*  Website: antelove.com                                       */
/* ------------------------------------------------------------ */

#include <stdio.h> // standar input output library

int main() {

    // This is single comment

    /* This
        is
        multi comment
    */

    /* ------------------------------------------------------------ */
    /*  This                                                        */
    /*  is                                                          */
    /*  documentation                                               */
    /* ------------------------------------------------------------ */

    getchar(); // hold the screen

    return 0;

}

Thank for reading :)


Keywords:


No Action Title
1 Live
2 Editor
0 comment