http://kor.i2p/books/The%20C%20Programming%20Language%20by%20K&R/chapter1.html
You should note carefully that '\n' is a single
character, and in expressions is just an integer; on the other hand, '\n' is a string constant that happens to contain only one character.
The topic of strings versus characters is discussed further in Chapter 2 . Exercise 1-8. Write a program to count blanks, tabs, and newlines.