Questions 1 and 2 refer to the code described in section 8.7 of K&R.