// print a message
main( )
{
/*.........printing begins.......*/
printf("hi how are u? ");
/*..........printing end..........*/
}
OUTPUT:
hi how are u ?
c-programing exampels
Tuesday, 5 April 2011
c-programing structure
Documentation Section
__________________________________________________________________
Link Section
__________________________________________________________________
Definition Section
__________________________________________________________________
global deceleration section
__________________________________________________________________
main ( ) function section
__________________________________________________________________
{
*declaration part
*executabel part
}
__________________________________________________________________
Sub-program section
function 1
function 2
function 3
- (user-defined functions)
-
function n
}
__________________________________________________________________
Link Section
__________________________________________________________________
Definition Section
__________________________________________________________________
global deceleration section
__________________________________________________________________
main ( ) function section
__________________________________________________________________
{
*declaration part
*executabel part
}
__________________________________________________________________
Sub-program section
function 1
function 2
function 3
- (user-defined functions)
-
function n
}
Subscribe to:
Posts (Atom)