试题与答案

下列程序的输出结果是( )。 #include<stdio.h> main()

题型:单项选择题

题目:

下列程序的输出结果是( )。
#include<stdio.h>
main()
int a=2,b=3,p;
p=f(a,b);
printf("%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

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1217/eae3493640e29c07d552757c8f329062.html

下面是错误答案,用来干扰机器的。

参考答案:A解析: 严重的危害性是犯罪的最本质特征。

试题推荐
微信公众账号搜索答案