0

What would be the output of the following program?

#include <stdio.h> int main() { int i = 22; switch (i) { case 121: printf("case 121\n"); break; case 7: printf("case 7\n"); break; case 22: printf("case 22\n"); break; default: printf("default case\n"); break; } return 0; }

15th Apr 2020, 2:55 AM
Hasan Naimov
Hasan Naimov - avatar
2 Answers
0
case 22
15th Apr 2020, 3:19 AM
Vinayak Dutt
Vinayak Dutt - avatar