According to the weather forecast, which is usually ______, it will snow this afternoon.A.
According to the weather forecast, which is usually ______, it will snow this afternoon.
A.exact
B.precise
C.perfect
D.accurate
According to the weather forecast, which is usually ______, it will snow this afternoon.
A.exact
B.precise
C.perfect
D.accurate
第1题
以下程序的输出结果是 #include<iostream.h> void main() { char x=040; cout << (X<<1) ;}
A.100
B.80
C.64
D.32
第2题
以下程序的输出结果是【 】。
include<iostream.h>
include <string.h>
void main 0 {
char s[50];
strcpy(&s[O], "No" );
strcpy(&s[1], "123" );
strcpy (&s[2], "23456" );
cout<<s;
}
第3题
以下程序运行后的输出结果是【 】。
include<iostream.h>
void main()
{
char a[]="abcdabcabfgacd";
int i 1=0,i2=0,i=0;
while (a[i])
{
if (a[i]=='a')
il++;
if (a[i]=='b')
i2++;
i++;
}
cout<<il<<' '<<i2<<endl;
}
第4题
A.100
B.80
C.64
D.32
第5题
有以下程序 #include<string.h> #include<iostream.h> void main() { char*p="abcde\0fghjik\0"; cout<<strlen(p);} 程序运行后的输出结果是
A.12
B.15
C.6
D.5
第6题
A.100
B.80
C.64
D.32
第7题
下列程序的输出结果是______。
include<iostream.h>
void main()
{
char a[]="abcdabcabfgacd";
int i1=0,i2=0,i=0;
while(a[i])
{
if(a[i]=="a")i1++;
if(a[i]=="b")i2++;
i++;
}
cout<<i1<<""<<i2<<endl;
}
第8题
以下程序段的输出结果是 ______。 #include<iostream.h> void main(){ char*p[5]={"ABCD","EF","GHI","JKL","MNOP"}; char **q=p; int i; for(i=0;i<=4;i++) cout<<q[i]; }
A.ABCDEFGHIJKL
B.ABCD
C.ABCDEFGHIJKMNOP
D.AEGJM
第9题
以下程序的输出结果是 ______。 #include<iostream.h> void main(){ char s1[]=”Hello”,s2[]="World"; char *p1,*p2; int i; p1=s1; p2=s2; for(i=0;i<5;i++) if(*(pl+i)==*(p2+i)) cout<<*(p1+i); }
A.H1
B.Ho
C.10
D.1
第10题
以下程序的输出结果是【 】。
include<iostream.h>
void main()
}
int a=0;
a+=(a=8) ;
cout<<a;
}
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!