Search



Wednesday, 4 March 2015

String Display with spaces

#include<stdio.h>
#include<conio.h>
void main()
{ char name[30];
printf("\n\n program to input string with spaces & display it");
printf("\n Enter ur name: ");
gets(name);
printf("\n Name : ");
puts(name);
getch();
}

No comments:

Post a Comment

Guys if you think something is wrong or should be edit than please do comment.