
Why the answer is char * (* p) [4]=& amp; Array instead of char (* p) [4]=& amp; array
CodePudding user response:
Char (* p) [4] is a pointer, he pointed to the data type is char [4]CodePudding user response:
PArray inside put the four elements of char *, p to point to them, so char * (* p) [4]CodePudding user response:
Complicate the simple question, char * * p=pPrray so easierCodePudding user response:
Char * (* p) [4] is a pointer to a pointer to a pointer array, the pointer array with four elements;Char (* p) [4] is a pointer to a pointer to a char array, the char array has four elements,
About the pointer array and array pointer, please refer to the "pointer array and array pointer in c + +"
Wish I could help you!