This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

switch case fail

void xx(char cc)
{ char aa; switch(cc) { case 1:case 0: aa=1; break; case 2,3: aa=2; break; }
}

//----------------------------------

xx(0); //run OK
xx(1); //run OK
xx(2); //run FAIL <<*****************
xx(3); //run OK

0