What will be output of following c program?

			  		

Loading

โœช Choose the correct option.

What will be output of following c program?


#include
int main(){
int i=0;
for(i=0;i<20;i++){
switch(i){
case 0:i+=5;
case 1:i+=2;
case 5:i+=5;
default: i+=4; break;
}
printf("%d ",i);
}
return 0;
}

A. 0 5 9 13 17
B. 5 9 13 17
C. 12 17 22
D. 16 21