Question
What is the output of this C code?
  int main()
  {
    switch (printf("Do"))
    {
    case 1:
      printf("First\n");
      break;
    case 2:
      printf("Second\n");
      break;
    default:
      printf("Default\n");
      break;
    }
  }
Answer: Option C
Was this answer helpful ?
none
Was this answer helpful ?
More Questions on This Topic :
Question 1. Switch statement accepts. ....
Submit Solution