Wednesday, 19 March 2014

C Program for Program to input & print a string

/* Program to input & print a string */
main( )
{
char  name[25] ;
printf ( "Enter your name " ) ;
scanf ( "%s", name ) ;
printf ( "Hello %s!", name ) ;
}

No comments:

Post a Comment