A lot of it is personal preference and style. I've seen both but use the former (int *myVariable).
However, there are some technical reasons to put the asterisk with the name. If your coding conventions/style allows more than one declaration per line you may write:
int valA, valB;
int *pValA, *pValB;
pValA and pValB are definitely pointers to int types.
int valA, valB;
int* pValA, pValB;
pValA is a pointer to an int type; what's pValB?
Your answer may depend on your compiler but in most modern compilers pValB is a straight-up int . Keeping the asterisk with the name helps the person who comes after you or you in 6 months.
Better yet, only declare one variable per line.