what is the output of a>>2 if a is 00000101
Answers
Answered by
0
Explanation:
: N<<i (N: first operand, i: second operand)
Takes two numbers, left shifts the bits of the first operand, the second operand decides the number of places to shift. Or in other words left shifting an integer “x” with an integer “y” denoted as ‘(x<<y)’ is equivalent to multiplying x with 2^y (2 raised to power y).
eg: lets take N=22; which is 00010110 in Binary Form.
please mark my answer as brilliant
Similar questions