- [计算机等级考试] 执行下列程序; SET TALK OFF STORE 0 TO X,Y DO WHILE X<6 X=X+Y Y=Y+2 ENDDO X,Y SET TALK ON RETURN 在屏幕上显示的输出结果是__。
- [计算机二级] 有以下程序 float fun(int x,int y) { return(x+y);} main____ { int a=2,b=5,c=8; printf("%3.0f\n",fun((int)fun(a+c,b),a-c)); } 程序运行后的输出结果是
- [计算机等级考试] 以下程序的输出结果是__。 #include<iostream> using namespace std; void fun(char**q) { ++q; cout<<*q<<end1; } main() { static char*s[]={"HI","HELL0","TEST"}; char**p; p=s; fun(p); system("PAUSE"); return 0; }
- [计算机二级] 有如下程序 #include int func(int a,int b) {return(a+b);} void main____ {int x=2,y=5,z=8,r; r=func(func(x,y),z); cout
- [计算机等级考试] 有如下程序:#include<iostream>using namespace std;class A{public: static int a; void init(){a=1;} A(int a=2){init();a++;}};int A::a=0;A obj;int main(){ cout<<obj.a; return 0;}运行时输出的结果是
- [GRE] Although he was widely celebrated as a radio and motion picture star in the 1940s, George Burns enjoyed his greatest____ after his return to the screen in the "Oh God" films of the 1930s.
- [计算机二级] 以下程序的输出结果是 int f____ { static int i=0; int s=1; s+=i; i++; return s; } main____ { int i,a=0; for(i=0;i
- [计算机等级考试] 下列程序的输出结果是______。 char*fun(char*str,int n) { int i; char*p=str; for(i=0;i<10;i++,str++) *str='a'+i; return++p; } main() { char a[10]; printf("%s\n",fun(a,10)); }
- [计算机二级] 现有如下程序段 #include "stdio.h" int *fun(int *a,int *b) { int c; c=*a%*b; return &c; } main____ { int a=5,b=19,*c; c=fun(&a,&b); printf("%d\n",++*c); } 则程序段执行后的结果为
- [计算机二级] 阅读下面程序段,则执行后输出的结果是 #include "stdio.h" main____ { char fun(char,int); char a=′A′; int b=13; a=fun(a,b); putchar(a); } char fun(char a,int b) { char k; k=a+b; return k; }
请使用微信扫描二维码,获取题库。