Question PRG-C-0069
HardWhat is the output of this program?
#include <stdio.h>
int main() {
int x = 0x1F;
printf("%d %o %X %d", x, x, x << 2, x >> 3);
return 0;
}
- A.
31 37 7C 4
- B.
31 31 7C 3
- C.
Sign up free to see the answer and a step-by-step explanation.