#include<stdio.h> void main( ) { int s,t,a,b; a=2; b=4; s=t=1;
#include<stdio.h> void main( ) { int s,t,a,b; a=2; b=4; s=t=1;
日期:2017-03-21 11:22:03 人气:1
等效如下
#includevoid main( ){int s,t,a,b;a=2; b=4;s=t=1;if(a>0) s+=1; //a>0成立, s自加为2if(a>b) t=s+t;//这里三个 a>b不成立else if(a==b) t=5;//a==b不成立else t=2*s;//执行这个 t=2*s=4printf(“%d\n”,t);//输出4}