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

k&r

Name: Anonymous 2010-09-02 0:50

should i read k&r

Name: Anonymous 2010-09-02 21:32

>>21
'\n' is a char, which in C is just an integer-type, and therefore yields an integer-value when being evaluated.
the statement, though, that '\n' is "on the other hand a string constant that happens to contain only one character." is just wrong. the only string-constant that only contains one charactar in C is "", which contains '\0' as its only element of type char.

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