receiving scanf input with a pointer in c
/**
* main - start of the program
* @c: character array
*
* Desc: Takes a string from stdin and prints it out to stdout
* Returns: 0 on success
*/
int main()
{
char c[100];
printf("Enter your string\n");
scanf("%s", c);
printf("You have entered %s",c);
return 0;
}