+ 1
What happens if I do not use break in c++ switch statement
need urgent reply
6 Answers
+ 3
rest of the cases will get executed..
+ 2
There might be a chance that your code will generate some unexpected outputs.
+ 1
The rest of the cases get executed after the matching case, irrespective of them being true or not!
https://www.sololearn.com/learn/CPlusPlus/1618/
+ 1
it join all the case together, without space and execute them at once.
0
it check the condition and from there the condition which are below to it will be executed if that the condition is not matched also
- 2
plz don't ask fullish things