3 ms·
> int *w; But some misguided style guides demand the misleading `int* w;`, and then act surprised by `int* w, x`;
by kps 2mo ago
> int *w;
But some misguided style guides demand the misleading `int* w;`, and then act surprised by `int* w, x`;
- tom_ 2mo agoI split the difference and write it "int*w". (Most style guides tell you to declare one name per line anyway...)
- kps 2mo agoI have seen `int * w` in the real world. I'm sad now.
- deleted 2mo ago[deleted]
- uecker 2mo agoThose style guides would also disallow having multiple declarators in a single declaration.