Answers from The C Programming Language by Kernighan and Ritche Second Edition