Code Snippets C

#include
int main(void)
{
char *p, **mp, str[80];
p = str;
mp = &p;
printf("Enter your name: ");
gets( *mp );
printf("Hi %s", *mp);
return 0;
}