Code Snippets C

#include
int main(void)
{
char *p, *j;
printf("Enter a string: ");
p = gets(j);
printf(p);
return 0;
}