What will be the output of following code? main() { int foo = 20; int bar = 3; float foobar; foobar = (float) foo / bar; foo = foobar; printf("foobar = %5.3f\nfoo = %d", foobar, foo ); }
Correct Answer: foobar = 6.667 foo = 6
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More C Programming MCQ Questions