Thank you for your guide!
Correct me if I am wrong, but shouldn't the following line:
int (*ptr)[10];
be interpreted as "an array of 10 pointers to int" and not as "a ptr to an array of 10 ints"? I thought that the bracket operator had higher precedence than dereference (hence the parenthesis around *ptr).
Leave a comment: