Report question

Question: Need help understanding "getbits()" method in Chapter 2 of K&R C