Possible Duplicate:
C - initialization of pointers, asterisk position
What is the difference between these declarations:
char* str;
and
char *str;
Is there a difference at all?
Another example:
char* str;
struct StrStackLink *next;
Are both str
and next
pointers or is there any significance in the placement of the star?