How to write hello world program in C language - World Of Programs

World Of Programs

Let's Be The Coder

Recent Tube

Post Top Ad

How to write hello world program in C language

How to write hello world program in C language

Share This
C language is developed by Denis M. Ritchie in 1972 at the Bell laboratory to develop the UNIX operating system. C is a general-purpose and procedural language which is the most widely used computer language.

Some features of C language
Fast and Efficient
Portable
Function and Rich Libraries
Modularity
Easy to Extend
Case sensitive
It can consist one or more function

How to write Hello world Program in C language

#include <stdio.h>

int main()
{
printf("Hello World!");

return 0;
}

OUTPUT: -
Hello World!

Here,
#include <stdio.h> is used for header file
int main() is used as main function
printf("Hello World!") is used as output statement
and return 0 is used as returning value for function.

This is my first blog so please appreciate my work by subscribing my blog.

No comments:

Post a Comment

Post Bottom Ad

Responsive Ads Here

Pages