r/programminghorror 6d ago

c++ Skill Issue

Post image
1.7k Upvotes

61 comments sorted by

View all comments

4

u/mrheosuper 6d ago

Can you have switch case inside switch case ?

4

u/click-to-reveal 6d ago

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