C Programming Hello Word Example
Hello word Example
Introducation C
C hello world program: c programming language code to print hello world. This program prints hello world, printf library function is used
to display text on screen, '\n' places cursor on the beginning of next line, stdio.h header file contains declaration of printf function. The
code will work on all operating systems may be its Linux, Mac or any other and compilers. To learn a programming language you must
start writing programs in it and may be your first c code while learning programming.
We may store "hello world" in a character array as a string constant and then print it.
A simple C program to display "Hello, World!" on the screen. Since, it's a very simple
program, it is often used to illustrate the syntax of a programming language.
To understand this example, you should have the knowledge of following C programming
Define C
C is a high-level and general-purpose programming language that is
ideal for developing firmware or portable applications. Originally
intended for writing system software, C was developed at Bell Labs by
Example Hello word
#include < stdio.h >
#include < conio.h >
int main()
{
printf("Hello Word ! ");
}
Output :
<< PREVIOUS >>
<< NEXT >>
Comments
Post a Comment