Question: What will be the output when wou compile and run the following code? Finclude estdiahs int mainit int i=0 for (i+0,itimes 10;i+4) 1 sustich

What will be the output when wou compile and run the following code?\ Finclude estdiahs\ int mainit\

int i=0\ for (i+0,i\\\\times 10;i+4)

\ 1\ sustich 6 in\ case 0 :\

1+5

\ case 1 :\

i+=2

\ case 5 :\

1+=5;

\ defaut:\

i+=4;

\ break:\ I\ printt("%d ", i):\ 1\ return 0 ;\ 50\ 36\ 18\ 16

 What will be the output when wou compile and run the

What will be the output when wou compile and run the following code? Finclude estdiahs int mainil int i=0 far(1+0.1220,14+4) I switch 6 sis case 0: 1+55 : case 1 : i+=2. case 5 : 1+=5; default: 1+=4; break: 1 printt("\%d ", i); I return 0 : 50 36 18 16

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!