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

C pointer variables

Name: Anonymous 2009-06-15 12:13

Which is the better way to write them?


char* timmy = "hello\n";

or

char *timmy = "hello\n";

Name: Anonymous 2009-06-15 13:50

>>1
Use char *s in C, because that's what K&R use, and use char* s in C++.

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