In this article, you are going to develop the first program in C. You will learn how the sequence of a C program works.

The C program is a set of functions. A C program always starts executing in a special function which is known as main function. Here is the simple but famous "Hello World" program that prints a greeting message on screen.
Let's examine the program above in details.
- The first line is the the #include directive. C program uses this directive to load external function library - stdio is c library which provides standard input/output. printf () is a function which is declared in the header file called stdio.h
- The next is the main function - the first entry point of all C programs. C program logic starts from the beginning of main function to the its ending.
- And finally is the printf function which accepts a string parameter. The printf function is used to print out the message to the screen. The main function is supposed to return an integer number so we put return 0 statement at the end of the program.
Congratulation! You've developed the first program in C. Let's go to the next tutorials to explore the power of C programming language, enjoy programming!