Difference in pointer types

I have seen pointers written various ways and I'm wondering if there is a difference or it's just preference.

1
2
3
4
5
SDL_Texture* mainCharacter

SDL_Texture * mainCharacter

SDL_Texture  *mainCharacter


I assume it's preference but better safe than sorry
You can try them in a program and see what the output is. It doesn't really hurt.
I did and nothing changed. But that doesn't mean something under the hood isn't operating differently.
They are functionally identical; it is only preference.
thanks
Topic archived. No new replies allowed.