That's why I always bind *to a name, not a type.
When entering
typedef const char *PSTR;
you must read what *PSTRis it const char, therefore PSTRis the address const char.
So if you type
typedef const char *PSTR,
*LPSTR,
OTHER;
OTHERand *LPSTRequal const charin the same way *PSTR.
source
share