Remix.run Logo
kps 2 hours ago

> int *w;

But some misguided style guides demand the misleading `int* w;`, and then act surprised by `int* w, x`;

an hour ago | parent | next [-]
[deleted]
tom_ an hour ago | parent | prev [-]

I split the difference and write it "int*w".

(Most style guides tell you to declare one name per line anyway...)

kps 2 minutes ago | parent [-]

I have seen `int * w` in the real world.

I'm sad now.