Add getBit. Also, K&R are right.