0
Can anyone tell me how it's 3 it should be 1 right cause c='a' so by first condition of switch case it should be 1
4 odpowiedzi
+ 1
There is no `break` statement in case 'a' block, so the execution flows down through, adding 2 before it breaks out of the `switch`.
+ 2
Yes you're right 👍
+ 1
Ooh so it goes till case 2 and then stops right?
+ 1
Thanks 👍