As far as I can tell in all C-like languages something like this:
switch(variable) {
case 'a':
printf("Hello ");
case 'b':
printf("World!");
case 'c':
printf("\n");
}
Will print "Hello World!" if variable == 'a'. I'm curious about the reasoning behind this behaviour as it seems to me automatically inserting breaks at the end of every case would make its behaviour a lot more consistent with expectations and a lot less error-prone.
For example: "In case your die rolls a 6, draw another card" is an action that has to be done in a single case, which to me the case keyword implies.