The C Programming Language, Second Edition. By Brian W. Kernighan and Dennis M. Ritchie.