> -- AVC писал(а):
> Я разобрался с некоторым трудом. (Можете попробовать сами.  )Попытался разобраться, почему компилятор принимает этот код, а не сообщает об ошибке, и как оно вообще там работает.

> -- D. Jones, 'The New C Standard. An Economic and Cultural Commentary' писал(а):
> 1746 If a converted value matches that of the promoted controlling expression, control jumps to the statementfollowing the matched case label.CommentaryA case label can appear on any statement in the switch body.There can be more practical uses for this functionality.Coding GuidelinesExperience suggests that developers treat the case label value as being the result of evaluating the expressionappearing in the source (i.e., that no conversion, driven by the type of the controlling expression, takes place).A conversion that causes a change of value is very suspicious. However, no instances of such an event occurin the Usage .c ﬁles or have been experienced by your author. Given this apparent rarity no guidelinerecommendation is made here.
Вапще жестоко. "О сколько нам открытий чудных..."