Print Hello World Using C Language

How to Print Hello World Using C Language. In this article, you will know about the printf function and how to print some text on the output.

First of all type the header file that is #include<stdio.h>. Then type the void main() which shows that the program starts here. The add the opening curly brase the type the printf statement with Hello World text. Now close the braces.

Source Code :

#include<stdio.h>
void main()
{
  printf("Hello world");
}

Output :
Hello World

That’s all for today lets see you all soon. Try these and wait for more. Have a nice day.

Leave a Comment