344 views

1 Answer

0 votes
0 votes
If break is not mentioned in cases of switch then order of execution becomes sequential [till we find break or exhaust all cases]... So here stmt executed are :

printf("GATE-");

printf("2015\n");

break;

So this sequence outputs : GATE-2015