What is the output of the following program?
int a = 0;
a = 4;
a = a+1;
a = a-1;
when the value of a matches with none of the cases, then the default value of 4 gets assigned to a and a "fallthrough" happens since there is no "break" statement. Hence, all the expressions involving a gets executed and the resulting value is 3