Question: The variable x holds a 32-bit int. Which expression below computes the result of setting bit number 6 of x to 1 while leaving all
The variable x holds a 32-bit int. Which expression below computes the result of setting bit number 6 of x to 1 while leaving all other bits unchanged?
Question options:
| x | 0x00000040 | |
| x & 0xFFFFFFBF | |
| x & 0x00000040 | |
| x | 0xFFFFFFBF |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
