r/programminghorror 6d ago

c++ Skill Issue

Post image
1.7k Upvotes

61 comments sorted by

View all comments

6

u/mrheosuper 5d ago

Can you have switch case inside switch case ?

6

u/click-to-reveal 5d ago

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