x* y;
1234567
int* x, y; // x is a pointer and y is not int *x, y; // easier to see that in this case // However, declaring several variables in one line is less common in C++ // This is better: int* x = 0; // Always initialize pointers int y;