Thursday, 1 November 2012

Basic Structure of C program


#main( )  - Every program must have a main( ) function and it is a first function that will be called.

The main( ) function is the one to which control is passes when the program is executed


{ }  These are known as braces or curly brackets. 


The opening curly brackets indicates that a block of statements is about to begin. 
 
The statements  of the functions are enclosed in these curly brackets.
  

The closing curly brackets terminates the block of the statements.
 



No comments:

Post a Comment