char *p = "hello";
printf("%c",*p); //output would be ***h***
printf("%s",p); //output would be ***hello***
At line 2 why we have to use *p to print a char and at line 3 we have to use p to print a string.
Also at line 1 how the string is stored in memory.