Blog

Pointer Problem

Published 1 min read

Pointer variables that hold the address of each variable

char *p → char ** tptr
char p[10] → char (*tptr)[10]
char **p → char *** tptr
char *p[10] → char *(*tptr)[10]
char (*p)[10] → char (**tptr)[10]
char **p[10] → char **(*tptr)[10]
char ***p; → char ****tptr;
char (**p)[10] → char (***tptr)[10]

Comments

Leaving a comment stores your nickname (or GitHub profile info). Privacy policy

GitHub