What kind of solution is to avoid default statement in switch ,if it is possible?Regards
LibraryCode
0
Junior Poster in Training
Recommended Answers
Jump to PostHi
Why would you want to avoid a default statement? Do you have some code to demonstrate what you mean and why you would want to do this?
One way of avoiding a default statement in a switch is to simply not have one. What result that will have on …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.