Question:What will be output when you will execute following c code?
#include<stdio.h> #define L 10 void main(){ auto money=10; switch(money,money*2){ case L: printf("Willian"); break; case L*2:printf("Warren"); break; case L*3:printf("Carlos"); break; default: printf("Lawrence"); case L*4:printf("Inqvar"); break; } }Choose all that apply:
A Willian
B Warren
C Lawrence Inqvar
D Compilation error: Misplaced default
E None
+ AnswerB
+ Explanation
+ Report