Hi,
I wonder if somebody could help me out.
If I write this:
char *a, b, c;
only a is a pointer to char, b and c are just variables.
However if I do this:
typedef char* STRING;
and then I do this:
STRING a, b, c;
this is then equivalent to:
char *a, *b, *c;
that is three pointers to char. I tested this out to confirm this. I just can't
understand why all three variables above end up as pointers.
Thanks in advance for any help.