#include<stdio.h>

void main(void)

{

 char name[11];

 

printf("Enter name (within 10 characters): ");

scanf("%s",name); /* or scanf("%s",&name) */

 

 printf("Name: %s\n",name);

}