Home » Technical Questions » Programming

What is the output of this C code? #include int main() { int a = 1, b = 1; switch (a) { case a*b: printf("yes "); case a-b: printf("non"); break; } }

Correct Answer: Compile time error

← Previous Question Next Question→

Discussion & Comments

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