Question 12
· unclassifiedP · Verified PYQ
Problem
What will be the output of the following code #include <stdio.h> #define LowerLimit 10 int main(){ Auto int x=10; switch(x,x*2){ Case LowerLimit: printf(“ABC”);
- B. reak;
- C. ase LowerLimit2: printf(“XYZ”); break; Case LowerLimit3: printf(“PQR”); Break; Default: printf(“MNO”); Case LowerLimit*4: printf(“www”); Break; } }
Answer: XYZ