3 ms·
I find that char* foo = NULL; char bar = 0; are preferable. Is there any reason one would want to smash N declarations into one?
by itsuart 10y ago
I find that
char* foo = NULL;
char bar = 0;
are preferable. Is there any reason one would want to smash N declarations into one?
- gpderetta 10y agoI prefer that as well, but because the other option is possible and sometimes used, a few prefer to put the star close to the name as to avoid mistakes.