Thursday 20 September 2012

c program print string

Input string containing spaces

#include <stdio.h>
 
main()
{
   char a[80];
 
   gets(a);
 
   printf("%s\n", a);
 
   return 0;
}

No comments:

Post a Comment