Question: Plz i want correct answer quickly , for C programming ..3 Q What will be the output of the following program segment? ch=3; switch (ch)
What will be the output of the following program segment? ch=3; switch (ch) { case 1: printf(" "); default printf(2 "); 1 O a.12 b. Run time error c. 2 Flag question What will be the output of the following program segment? if("true") printf(""); else printf("b"); O ob b. error ca d. b 3 what will be the output of the following program segment? a=3 switch(a) case 2:a++; case 3: ++a; break; case 4: a++; } printf("%d",a); 95
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
