单项选择题

main( ){ int a=2,b=3,c;c=a;if(a>b)c=1;else if(a==b)c=0;else c=-1;printf(“%d”,c);} 以上程序的运行结果是 ( )

A.0
B.-1
C.1
D.2
微信扫码免费搜题