下列程序的输出结果是( )。 #include<stdio.h> main()
题型:单项选择题
问题:
下列程序的输出结果是( )。
#include<stdio.h>
main()
int a=2,b=3,p;
p=f(a,B) ;
pdntf("%d",p);
int f(a,B)
int c;
if(a>B) c=1;
else if(a==B) c=0;
elSe c=-1;
return(C) ;
A.-1
B.0
C.1
D.2