Answers to APUE chapter 3