题目内容

以下程序的输出结果是什么?#include int a = 5;int main(){void fun();int a = 0,i;for(i = 0; i< 3; i++)fun();printf("%d",a);return 0;}void fun(){printf("%d",a--);}

查看答案
更多问题

以下程序的运行结果是#includeint fun(){int x = 0;x+=2;return x;}int main(){int i = 1,s;while(i++<3)s = fun();printf("%d",s);return 0;}

填空题:以下程序的运行结果是#includevoid num( ){extern int x,y;int a = 4,b = 3;x = a * b;y = a / b;}int x,y;int main(){int a = 6,b = 3;x = a * b;y = a / b;num();printf("%d %d\n",x,y);return 0;}

以下程序的运行结果是什么?#include int x;void minus(){static int x=6;x--;printf("static x=%d\n",x);}int main(){minus();minus();return 0;}

Excel操作中,假设A1,B1,C1,D1单元分别为2,3,7,3,则SUM(A1:C1)/Dl的值为______:

A. 15
B. 18
C. 3
D. 4

答案查题题库