Inspiration

Programming

Based On University Lessons

Functions next

Share this project:

Updates

posted an update

Hello World-First code

I want to share with you first code:Hello World in C language:

include //for printf

include //for getch

int main() //Main function

{ //opening bracket

       printf("Hello World!\n"); // shows on the screen

       printf("Welcome to my blog!\n");  //shows on the screen

       printf("Love you!");  //shows on the screen

    getch(); //expects the user to type a character

    return 0; //the program has been successfully completed

} //closing bracket

                                       -->   \n      is for newline
                                       -->   //        for comments
                                       -->    ;         evry instruction end with ;

If you have any question please comment it.

Log in or sign up for Devpost to join the conversation.