Reading accelearated C++: theres a discussion on whether
int* p, q
int (*p), q
int *p, *q
I don't suppose int *p, *q will work?
It will, test it. That's correct way to do this.
Another option, to avoid such confusion, is to declare them separately
int* p; int* q;
So I suppose q is just an int
int* p, q - yes, it is
int, and not a pointer.