This is a pointer to char .
When declaring a pointer, an asterisk follows the type and before the identifier, and spaces are not significant. All declare char pointers:
char *pointer1; char* pointer2; char * pointer3; char*pointer4;
To make things even more confusing, when declaring several variables at once, the asterisk is applied to only one identifier (on the right). For example:.
char* foo, bar;
First of all, for this reason, an asterisk is conditionally placed immediately next to the identifier, and not with the type, since it avoids this confusing declaration.
Cameron
source share