Your example is not valid:
char **s = &"Is this valid?";
It's really:
char (*s)[15] = &"Is this valid?";
Type "Is this valid?"- char[15]. Array pointer type 15 of char- char (*)[15]. So the type &"Is this valid?"is equal char (*)[15].
Type of string literal char[N+1], where Nis the length of the string.
source
share