Page 1 of 1

What is the value of the following 8-bit integer after all statements are executed?

Posted: Wed Jul 13, 2022 7:51 pm
by answerhappygod
int x = 1;x = x << 7;x = x >> 7;
a) 1
b) -1
c) 127
d) Implementation defined