What about them can't you understand?

> PORTB & 0xF0
Preserves the top 4 bits, and clears the bottom 4 bits.

The two operations on c get the top 4 bits and bottom 4 bits into position read to add (using |) to the existing portb value.