耶稣Yē sū
第1题:
若有如下语句: struct a { char x[10] int y; }s,*t; t=&S; 则对结构体变量s中的成员y的正确引用是( )。
A.a.y;
B.t->y;
C.t.y;
D.*t->y;
第2题:
下列程序的输出结果是______。#includemain(){ char *a="abcdefghi";int k; fun(a);puts(a);}fun(char*s){ int x,y;char c; for(x=0,y=strlen(s)-1;x<y;x++,y--) { c=s[y];s[y]=s[x];s[x]=c;}}
A.ihgfsdcba
B.abcdcfghi
C.abcdedeba
D.ihgfefghi
第3题:
以下程序的输出结果是______。 #include <string.h> main() { char*a="abcdefghi";int k fun(a);puts(a); } fun(char*s) { int x,y; char c for(x=0,y=strlen(s)-1;x<y:x++,y--) {c=s[y];s[y]=s[x];s[x]=c;} }
A.ihgfedcba
B.abcdefghi
C.abcdedeba
D.ihgfefghi
第4题:
A.s.defaultReadObject();
B.this=s.defaultReadObject();
C.y=s.readInt();x=s.readInt();
D.x=s.readInt();y=s.readInt();
第5题:
第6题:
第7题:
S舱促销票价区间调整如下:S1*介于()之间,S2*介于Y75(不含)至Y60(含)之间,S3*为Y60以下。
第8题:
少筋梁破坏时()。
第9题:
较常用的时间数列分析模型是()
第10题:
开放经济中的宏观经济总需求可表示为()。
第11题:
以下FX2N可编程序控制器程序实现的是()功能。
第12题:
第13题:
以下程序的输出结果是_______。 #include<string.h> main() {char*a="abcdefghi";int k; fun(a) ;puts(a) ; } fun(char *s) { int x,y; char c; for(x=0,y=strlen(s)-1; x<y; x++,y--) { c=s[y]; s[y]=s[x];s[x]=c;} }
A.ihgfedcba
B.abcdefghi
C.abcdedcba
D.ihgfefghi
第14题:
有以下程序:#include <stdio.h>void swap(char * x,ehar * y){ char t; t= *x; *x: *y; *y=t;main ( ){ char *s1 ="abc", * s2 ="123"; swap(s1 ,s2); printf("%s,%s \n" ,s1 ,s2);}程序执行后的输出结果是( )。
A.123,abe
B.abe,123
C.1bc,a23
D.321,cba
第15题:
A.x , y和s 都是成员变量
B.x 是实例变量,y是类变量,s是局部变量
C.x和y是实例变量,s是参数
D.x ,y和s都是实例变量
第16题:
main( )
{ int x=31,y=2,s=0;
do
{ s-=x*y;
x+=2;
y-=3;} while( x%3==0);
printf(“x=%d\ty=%d\ts=%d\n”,x,y,s);
}
第17题:
第18题:
第19题:
超筋梁破坏时,钢筋应变与混凝土应变的关系是()。
第20题:
已知线性系统的输入x(t),输出y(t),传递函数G(s),则Y(s)=G(s)-X(s)。
第21题:
下列选项中,不属于开放经济中的宏观经济总需求的有()。
第22题:
1. import java.io.*; 2. public class Foo implements Serializable { 3. public int x, y; 4. public Foo( int x, int y) { this.x = x; this.y = y; } 5. 6. private void writeObject( ObjectOutputStream s) 7. throws IOException { 8. s.writeInt(x); s.writeInt(y) 9. } 10. 11. private void readObject( ObjectInputStream s) 12. throws IOException, ClassNotFoundException { 13. 14. // insert code here 15. 16. } 17. } Which code, inserted at line 14, will allow this class to correctly serialize and deserialize?()
第23题:
传递函数式可以写成如下的()形式。