difference between char* s and char *s?

I see in linked list they use node* next instead of node *next.

node is a structure.
Last edited on
There's no difference. It's a stylistic preference on the part of the programmer.
There is no difference. Both create a pointer to a Node type. Which side the * is on is a matter of preference or coding standards of an organization.
Topic archived. No new replies allowed.