Home » Technical Questions » Programming

What is the output of this C code? #include void main() { int y = 3; int x = 5 % 2 * 3 / 2; printf("Value of x is %d", x); }

Correct Answer: Value of x is 1

← Previous Question Next Question→

Discussion & Comments

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