How to decipher complex pointer declarations in C?
问题 So I want to give an example: int *pi; // pi is a pointer that points to an integer const int *cpi; // cpi is a pointer that points to a constant integer char *pc; // pc is a pointer to a char How can I read these: char **x; //x is a pointer to a char pointer? char *y[]; char **z[]; Thanks. 回答1: cdecl.org is often linked to such questions. No doubt that it make easier to decipher any complex declaration, but at the same time it just provide an abstracted information. Being a C or C++