My solutions to exercises from Kernighan and Ritchie, first edition.