下面程序的输出结果是#include <stdio.h>main(){int i=2;printf("%d",f(i,i+1) );}int f(i
16 查阅
下面程序的输出结果是 #include <stdio.h> main(){ int i=2; printf("%d",f(i,i+1) ); } int f(int a,int b) { int c; c=a; if(a>b) c=1; else if(a==b) c=0; else c=-1; return(c);}A.-1 B.0 C.1 D.2
参考答案: