switch
#include<stdio.h>main()
{
int a,b;
a=2;
b=5;
switch(a-1)
{
case 0:
case 1: b+=4;
case 2:
case 3: b*=4;
case 4: b+=4;
default:b/=4;
}
printf("a=%d,b=%d\n",a,b);
}b=10怎么来的?
2018-11-09 21:29
2018-11-09 21:31
2018-11-09 21:34

2018-11-09 21:39

2018-11-09 21:40
2018-11-09 22:04