Search



Wednesday, 4 March 2015

String Display

#include <stdio.h>
#include<conio.h>
void main()
{ char name[20];
printf("\n\n program to input a string & display it");
printf("\n Enter name: ");
scanf("%s",name);
printf("Your name is :  %s",name);
getch();
}

No comments:

Post a Comment

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