Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (anonymous):

C programming quick question !

OpenStudy (anonymous):

what does this expression: b>>=6;

OpenStudy (anonymous):

@ganeshie8

ganeshie8 (ganeshie8):

\(b>>6\) shifts the bits of \(b\) to right by \(6\) places run it and see https://ideone.com/rwlmcM

OpenStudy (anonymous):

watch it carefully @ganeshie8 I said b>>=6 not b>>6

ganeshie8 (ganeshie8):

\[b>>=6 \] is shorthand for \[b = b>>6\]

ganeshie8 (ganeshie8):

\(b>>6\) returns the result after shifting the value of \(b\) to right by \(6\) positions but doesn't change \(b\)

ganeshie8 (ganeshie8):

https://ideone.com/ElFi9H

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!