Q261
What will be the output of the following C code? #include int main() int x = -2; x = x >> 1; printf("%d ", x);
A.
1
B.
-1
AnswerC.
231 - 1 considering int to be 4 bytes
D.
Either -1 or 1
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board