hello world program in c

In this example, you will learn to print "Hello, World!" on the screen in C programming.

Program to Display "Hello, World!"

In this example we are goint to use printf() function to print string to output window. The printf() is in-built function of C Programming. printf stands for "print formatted". With help of this function we can format output.

Example :

	
#include <stdio.h>
int main() {
    // printf() displays the string inside quotation
    printf("Hello, World!");
    return 0;
}
	

Output :

	
        Hello, World!
	

Share your thoughts

Ask anything about this examples