Which is correct?
int* px, py, pz
int * px, py, pz
int *px, py, pz
Which is correct?
Chase Ward
Michael Garcia
[CODE]
int *px;
int py, pz;
[/CODE]
/thread
Austin Wilson
Yes
Isaac Martinez
>/threading your own post
Cameron Sanders
all of them compile to the exact same code
you must specify a pointer for all variables separately
Cooper Martin
the third one of course
the first one might make you think all of them will be pointers, while the third one makes it clear its only a property of px
the second one is rarted
Grayson Johnson
None are because py and pz will be integers instead of pointers to int and you're also missing semicolons
Lincoln Price
degenerate
Angel Wood
int *px;
int *py;
int *pz;
Thomas Baker
I prefer option three, but I might be a brainlet so what do I know, anyway?