Home » C Programming » Bitwise Operators

What will be the output of the program? #include int main() { printf("%d >> %d %d >> %d\n", 4 >> 1, 8 >> 1); return 0; }

Correct Answer: 2 >> 4 Garbage value >> Garbage value

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion