//this is a program to accept the user name and display it
#include<stdio.h>
#include<conio.h>
void main()
{
char name[20];
printf("\n\nEnter Your name: ");
scanf("%s",name);
printf("\n\nYour Name: %s",name);
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
char name[20];
printf("\n\nEnter Your name: ");
scanf("%s",name);
printf("\n\nYour Name: %s",name);
getch();
}