You will find examples and exercises for C basic
Hello World-First code
I want to share with you first code:Hello World in C language:
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.
Leave feedback in the comments!
Log in or sign up for Devpost to join the conversation.
Log in or sign up for Devpost to join the conversation.