The switch keyword focuses only on the expression/value inside the parentheses ().
After reading the value it will directly jump into the cases part and find the matching. If no matches are found then it will move to the default.
so simply c = c-1 is not even executed it is just ignored.