Friday, 14 March 2014

C Program to demonstrate printing of a string

/* Program to demonstrate printing of a string */
main( )
{
char  name[ ] = "Klinsman" ;
int  i = 0 ;
while ( i <= 7 )
{
printf ( "%c", name[i] ) ;
i++ ;
}
}

No comments:

Post a Comment