the result obtained for this code is three.. what is the reason..
i think zero might be the result since the default statement comes before the other case statement.. so a soon as it enters the switch it might execute the statements within default and exit the switch on seeing the break statement ... therefore zero will be the output... but it is not why...?????
what happens exactly during the execution????
help me friends!!