Hi Abimaran, I was thinking if case matches before default, case will be executed. If case is not matched, all the statements from default will be executed. But here, case that is matching after default is executed. Please let me know the logic/rule behind that.
Abimaran Kugathasan wrote:Which is the 'case' if z = 0?
Thanks Tom. I got your point and trying to understand the rule behind it.