Home Segments Index Top Previous Next

485: Practice

Explain how you can use the left-shift operator to create masks. Then, amend the program shown in Segment 479 such that bad_size_bit, bad_price_bit, too_much_bit, and too_little_bit are unsigned character variables that you set up using the left-shift operator.