Ads Top

Overview of C

Overview of C 

# include<Header file name 1>  .......................................line 1
#include<Header file name 2> ..........................................line2

Type name Main()   .............................................................line3

 {  ........................................................................................line4

Statement-----1 .....................................................................line5
Statement-----2 .....................................................................line6
Statement-----3 .....................................................................line7

 } .........................................................................................line8




Line 1:-  #include is the preprocessor directive that is used to include the information of specified header file.

 The preprocessor is a program that process the program earlier than compiler .

Header file :- contain the reference of the predefined components.


Line 3 :- Type name is used to specified the type of program that whether the program is in an individual program or non individual program.

 if the program is an individual program than the type is specified as void otherwise it is integer.

Main :- main is the controlling section of the programs from where the execution of the program will be initiated.

Line 4 and 8 :- The starting curly braces represent the beginning of the program body where has the closing curly braces represent the end of the program body.

Line 5 ,6 and 7 :- The statement are used to specify the instructions in an program.

No comments:

Powered by Blogger.