Vương Tuấn Khải
New member
What will be the output of the following C code?
A. yes
B. no
C. Compile time error
D. yes no
Code:
#include <stdio.h>
int main()
{
int a = 1, b = 1;
switch (a)
{
case a*b:
printf("yes ");
case a-b:
printf("no\n");
break;
}
}
B. no
C. Compile time error
D. yes no