Exercises from Chapter 2 of C Primer Plus