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