Question: Consider a three - color representation in a 1 6 - bit integer as BBBB BRRR RRRG GGGG . Fill in the blanks on a
Consider a threecolor representation in a bit integer as BBBB BRRR RRRG GGGG Fill in the blanks on a function that returns only the red bits starting at the least significant bit, A and C are bitwise operators and B and D are base numbers.
unsigned char getRedunsigned short colorBGR
return colorBGR
;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
