Rules for switch statement in C language Valid SwitchInvalid SwitchValid Caseswitch(x)switch(f)case 3;switch(x>y)switch(x+2.5)case ‘a’;switch(a+b-2)case 1+2;switch(func(x,y))case ‘x’>’y’;C Switch Statement – javatpoint www.javatpoint.com › c-switch
Rules for switch statement in C language Valid SwitchInvalid SwitchValid Caseswitch(x)switch(f)case 3;switch(x>y)switch(x+2.5)case ‘a’;switch(a+b-2)case 1+2;switch(func(x,y))case ‘x’>’y’;C Switch Statement – javatpoint www.javatpoint.com › c-switch