Preference.
As for myself I usually put the asterisk near the type for single variables and function heads,
and the asterisk closer to the identifier when I declare many variables in one statement,Code:int* p; void func (int* p);
Code:int *p, i; SDL_Surface *window, *font, *background;