|
Let's say a variable 'a' is level 0. Then *a may be called of level 1 and **a level 2, etc. &a may be called of level -1 and &&a level -2 following the similar trend.
Representation of instantiated variables as a number
Let's say we have two blocks of code represented by two rectangles below:
And if they contain variables of differing levels of pointer like:
BLOCK 1: char *d; char **e; char f; BLOCK 2: int **a; int *b; int c;
Then they may be represented by two numbers, one for each block of code:
120 210.