Checked some source code from the book K&R