C Hello World Program

 C Program Examples

C Hello World Program

 The following C program displays “Hello World” in the output. To begin with, the “Hello World” program is the first step towards learning any programming language and also one of the simplest programs you will learn. All one needs to do is display the message “Hello World” on the screen. Let’s look at the program and try to understand the terminologies involved in it.


Write a C program to print Hello World on screen
#include <stdio.h> 
int main() {
             // printf is a output function to print on screen 
printf("Hello World"); 
return 0;
 }


In this program, the print function will be used to print "Hello World", a single string

Post a Comment

Previous Post Next Post