This C program will ask the user for a name or phrase and then display it.Here's the code and it's output,
CODE:


#include<stdio.h>
void main()
{
char a[];
printf("Please enter a name or phrase\n");
scanf("%s", &a);
printf("The phrase you entered was : '%s'", a);
}

The output will look like this:

Please enter a name or phrase
Sarathganesh
The phrase you entered was : 'Sarathganesh'