- 4
What is the result of 16>>2 ?
B.sc. 1year c language question.
4 Answers
+ 2
Priyansh Yadav it is bitwise right shift operator. It takes two numbers, right shifts the bits of the first operand, the second operand decides the number of places to shift.Similarly right shifting (x>>y) is equivalent to dividing x with 2^y.
Sample codeđ
https://code.sololearn.com/chdL3p63H0n7/?ref=app
+ 1
Sir , is it an operator? How does it manipulate operands?
+ 1
Intro to bitwise operator đ
https://www.sololearn.com/learn/4070/?ref=app