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-16 9:25

But that makes no sense at all! foo *bar says that *bar is of type foo.

It says that variable names can start with ``*''.

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