// Sets the value (1/0) of bits 4 and 5 in the char B. // Assume four and five are either 0 or 1. char SetBits45 (unsigned char b, char four, char five) { } return Enter your answer here

icon
Related questions
Question

Question R

please answer it in the format of (b...)|(four...)|(five...). Mn

Full explain this question and text typing work only     
We should answer our question within 2 hours takes more time then we will reduce Rating Dont ignore this line .

Give a command that completes the function below.
// Sets the value (1/0) of bits 4 and 5 in the char B.
// Assume four and five are either 0 or 1.
char SetBits45 (unsigned char b, char four, char five) {
;
}
return
Enter your answer here
Tips: Do not use spaces.
Remember that we number the bits from the right starting at 0.
The expected answer uses one hex constant and fits the form "
(b...)| (four...)|(five...) ".
Transcribed Image Text:Give a command that completes the function below. // Sets the value (1/0) of bits 4 and 5 in the char B. // Assume four and five are either 0 or 1. char SetBits45 (unsigned char b, char four, char five) { ; } return Enter your answer here Tips: Do not use spaces. Remember that we number the bits from the right starting at 0. The expected answer uses one hex constant and fits the form " (b...)| (four...)|(five...) ".
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer