Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
What is the output of this C code? #include int main() { int a = 10, b = 10; if (a = 5) b--; printf("%d, %d", a, b--); } | |
A. | a = 10, b = 9 [Wrong Answer] |
B. | a = 10, b = 8 [Wrong Answer] |
C. | a = 5, b = 9 [Correct Answer] |
D. | a = 5, b = 8 [Wrong Answer] |