Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C pointer declaration

Name: Anonymous 2011-01-22 17:57

int* ptr;
int * ptr;
int *ptr;


pick one;

Name: Anonymous 2011-01-23 7:10

int* ptr; Because * belongs to type, not to variable name.  Also I am not a shitty faggot that declares vars like
type v1, v2 instead of

type v1;
type v2;
.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List