Question
What is the output of this C code?
  int main()
  {
    int a = 1, b = 1;
    switch (a)
    {
    case a*b:
      printf("yes ");
    case a-b:
      printf("no\n");
      break;
    }
  }
Answer: Option C
Was this answer helpful ?
none
Was this answer helpful ?
More Questions on This Topic :
Question 4. Switch statement accepts. ....
Submit Solution