Exercises from "Head First C" to brush up on my C knowledge