C Programming language

C - Program Flow
Previous Home Next
#include <stdio.h>
main()
{
	printf("");
}

Preprocessor directive

#include

The ‘#include’ in the first line of the program is called a preprocessor directive. A preprocessor is a program that processes the C program before the compiler. All the lines in the C program beginning with a hash (#) sign are processed by the preprocessor.

"Standard Input/Output Header"

<stdio.h>

stdio.h, stands for "Standard Input/Output Header", ‘stdio.h’ refers to a file supplied along with the C compiler. It contains ordinary C statements. These statements give information about many other functions that perform input-output roles. Library functions are declared in header files. stdio.h provide the information to printf() that what should it do.

 

main() Function

main()

The next statement is the main() function. As you already know, this is the place where the execution of the C program begins. Without this function, your C program cannot execute.

Open and closing brasses { }

{
	////////
}

Open and closinng brasses tells the starting and ending of the statement.

Previous Home Next