Write a C program to print “Hello World!”

First open CodeBlocks and create a file.Then save the file named test.cpp.Then write the following simple C code.Finally Run the Code.


#include<stdio.h>

int main() 
{
printf("Hello World!");
return 0;
}

Output :