Comment by kps
5 hours ago
> int *w;
But some misguided style guides demand the misleading `int* w;`, and then act surprised by `int* w, x`;
5 hours ago
> int *w;
But some misguided style guides demand the misleading `int* w;`, and then act surprised by `int* w, x`;
Those style guides would also disallow having multiple declarators in a single declaration.
I split the difference and write it "int*w".
(Most style guides tell you to declare one name per line anyway...)
I have seen `int * w` in the real world.
I'm sad now.