int main(int argc ,char **argv)
{
char p[100] = "welcome";
printf("%s", p) // prints welcome
printf("%d", &p); prints addr of p
printf("%c", *p); // prints 'w'
}
if p contains the value how come by referencing it gives the first
char in string
{
char p[100] = "welcome";
printf("%s", p) // prints welcome
printf("%d", &p); prints addr of p
printf("%c", *p); // prints 'w'
}
if p contains the value how come by referencing it gives the first
char in string
Comment