What did the company decide to do at the next step?
A.It would tighten up its maintenance program.
B.It promised to suspend flights temporarily.
C.It promised to strengthen its security conditions.
D.It decided to resort to the law.
第1题
下面程序的运行结果是()。 #inelude<stdio.h> void del(char*s) { int i,j; char*a; a=s: for(i=0,j=0;a[i]!=\0;i++) { if(a[i]>=0&&a[i]<=9) {s[j]=a[i]; j++; } s[j]=\0; } } main { char*s="aa89gggh"; del(s): printf("\n%s",s); }
A.1
B.2
C.3
D.4
第2题
A.aa
B.89
C.gggh
D.aa89gggh
第3题
下面程序的运行结果是: #include <stdio.h> int fun (char *s) { char *p=s; while (*p) p++ ; return (p-s) ; } void main () { char *a="abcdef" ; printf(“%d\n”,fun(a)) ; }
第4题
下面程序的运行结果是【 】。
include<iostream.h>
void main()
{
char s[]="9876",*p;
for(p=s;p<s+2;p++)
cout<<p;
}
第5题
2. 下面程序输出的结果是: #include <stdio.h> void main() { char x=040; printf("%o ",x>>1); }
第6题
下面程序的运行结果是 ______。
include<iostream.h>
void main()
{
char str[]="SSSWLIA",c;
int k;
for(k=2;(c=str[k]!='\0';k++)
{
switch(c)
{
case'I':++k;break;
case'l';continue;
default;c
第7题
下面程序段的运行结果是 #include<iostream.h> void main() { char*s="abcde"; S+=2; cout<<&s;}
A.cde
B.字符'c'
C.字符'c'的地址
D.无确定的输出结果
第8题
下面程序的运行结果是()。 #include<stdio.h> void delch(char *s) { int i,j; char*a; a=s; for(i=0,j=0;a[i]!='\0' ;i++) if(a[i]>='0' &&a[i]<='9') { s[j]=a[i]; j++;} s[j]='\0'; } main() { char*item="a34bc"; delch(item); printf("\n%s" ,item);}
A.abc
B.34
C.a34
D.a34bc
第9题
下面程序的运行结果是 #include<stdio.h> void delch(char *s) { int i,j; char *a; a=S; for(i=0,j=0;a[i]!='\0';i++) if(a[i]>='0' &aa[i]<='9') {s[j]=a[i]; j++;} s[j]='\0';} main() { char *item="a34bC"; delch(item); printf("\
A.abc
B.34
C.a34
D.a34bc
第10题
运行程序,程序运行结果是()。 #include <iostream> using namespace std; void f(char *x) {cout<<*x< } int main() { char a[ ]="abcd" ; for(int i="0;i<=2;i++);" f(a+i); return 0;> A、a
B、abcd
C、abc
D、d
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!