Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

From K&R:

  We also declare 'c' to be an int, not a char, so it can 
  hold the value which getchar returns. As we shall see in 
  Chapter 2, this value is actually an int, since it must be
  capable of representing EOF in addition to all possible 
  'char's.


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: