I have the following code
char str[] = "some string"; // legal
char const* str2 = str; // legal
char const** str3 = &str2; // legal
char const** str4 = &str; // illegal (error: cannot convert 'char (*)[12]' to 'const char (*)[]' in initialization )
Why the last one is not compiled? What is the type of &str
?