Question: Evaluate the following code. What is the resulting value of the variable a? char a = 109; a &= ~(1 < < 1); Give your

Evaluate the following code. What is the resulting value of the variable a?

char a = 109; a &= ~(1 << 1);

Give your answer in 8 digits of binary (include leading zeros).

Evaluate the following code. What is the resulting value of the variable a?

char a = 56; a &= ~(1 << 7);

Give your answer in 8 digits of binary (include leading zeros).

Evaluate the following code. What is the resulting value of the variable a?

char a = 33; char b = 65; a &= ~b;

Give your answer in 8 digits of binary (include leading zeros)

Evaluate the following code. What is the resulting value of the variable a?

char a = 71; char b = 85; a |= b;

Give your answer in 8 digits of binary (include leading zeros)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!