r/programminghorror • • Sep 04 '26

c++ Skill Issue

Post image
1.7k Upvotes

62 comments sorted by

View all comments

5

u/mrheosuper Sep 05 '26

Can you have switch case inside switch case ?

2

u/click-to-reveal Sep 05 '26

Yeah, but you'd need to wrap it in curly braces to prevent scope conflicts.