It will put OFF all bits that are ON in the number n
B -
It will test whether the individual bits of n are ON or OFF
C -
It will put ON all bits that are OFF in the number n
D -
It will report compilation errors in the if statement.
7-
Left shifting a number by 1 is always equivalent to multiplying it by 2.
A -
True
B -
False
8-
In the statement expression1 >> expression2. if expression1 is a signed integer with its leftmost bit set to 1 then on right shifting it the result of the statement will vary from computer to computer
A -
True
B -
False
9-
Bitwise & and | are unary operators
A -
True
B -
False
10-
Bitwise & can be used to check if more than one bit in a number is on.