In this tutorial you will learn about the C Program To Print Hello World and its application with practical example.
C Program To Print Hello World
The C “Hello World” program is a simplest program that will display some text on the screen. The C “Hello world” program is a simple yet complete program for beginners that illustrates the basic syntax of any programming language. The C “Hello world” program gives you a way to test systems and programming environment. Let’s have a look at the program first.
1 2 3 4 5 6 7 8 9 |
#include <stdio.h> int main() { printf("W3Adda - Hello World Program\n"); printf("Hello World"); return 0; } |
Note:- The printf() is a function that tells C Compiler to display or output the content inside the parentheses.
Output:-