The problems from K&R are (from Chapter 6):
P6, P9, P11, P15, and R10 (note this is in the Review Questions section on p. 579)