题目内容

#include int a,b;void fun(){ a=10;b=20;}void main(){ int a=3,b=9;fun();printf("%d,%d\n",a,b);}

查看答案
更多问题

以下程序输出结果为 。#include int f( ) //定义f函数,a为形参{int b=0; //定义b为自动变量static int c=3; //定义c为静态局部变量b=b+1;c=c+1;return b+c;}void main( ){int a1,a2;a1=f();a2=f();printf("%d,%d",a1,a2);}

以下程序输出结果为 。#include int fun(int n){ if(n==1) return 1;else return fun(n-1)+1;}void main(){ int i,j=0;for(i=1;i<3;i++)j+=fun(i);printf("%d\n",j);}

What we should prepare for making a cake?

A. The food raw materials.
B. The equipment.
C. The equipment and the food raw materials.

Who would gather together to give blessings on birthday?

A. Mother.
B. Classmates.
C. Relatives.

答案查题题库