Exercise of the book The C Programming Language