(C) both default and case statement in switch are executed when switch is inside a while loop

后端 未结 0 589
伪装坚强ぢ
伪装坚强ぢ 2020-11-21 21:39

I\'m trying to create a switch statement inside a while loop based on an input take each iteration of the loop and quit the while loop if the default case is executed.

<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题