下列程序段运行的结果为( )x=2;if(x>0)y=1;printf("%d",y);
下列程序段运行的结果为()int x=1;int y=2;if(x%2==0) y++;else y--;printf("y=%d",y);
下列程序段运行的结果为()x=0;if(x>0)y=1;else if(x=0)y=0;elsey=-1;printf("%d",y);
下列程序段运行的结果为()x=2;switch(x%3){case2:printf("Are ");case1:printf("you ");case0:printf("right");default:printf("?");}