char list[] = "World";
char *ptr = list + 2;
char **p = &ptr;
The question: Why is &ptr
of type char**
? I understand that p
points to a pointer to an array but isn't the address of ptr
a char*
?
I have looked at Is an array name a pointer?, is it possible that the array is considered a pointer as well in this case?