下面程序的运行结果是 #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
[单选题]下面程序的运行结果是()。includevoid del(char*s){int i,j;char *a;a=s;for(i=0,j=0;a下面程序的运行结果是( )。 #include<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'; }}
[单选题]下面程序段的运行结果是()。includevoid main(){char str[]="ABC",*p=str;pfintf("%d/n下面程序段的运行结果是( )。 #include<stdio.h> void main() {char str[]="ABC",*p=str; pfintf("%d/n",*(p+3)); }A.67B.0C.字符'C'的地址D.字符'C'
[单选题]下面程序的运行结果是includevoid fun(int * a,int * b){ int x= * a; * a = * b;*下面程序的运行结果是 #include<iostream.h> void fun(int * a,int * b) { int x= * a; * a = * b; * b=x; cout <<*a<< *b<<""; } void main( 0 { int x =1,y =2; fun(&x,&y); cout<< x << y <<end
[单选题]下列程序的运行结果是()。includevoid fun(int*s,int*p){static int t=3; *p=s[t]; t££下列程序的运行结果是( )。 #include<stdio.h> void fun(int*s,int*p) { static int t=3; *p=s[t]; t--; } void main() { int a[]={2,3,4,5},k; int x; for(k=0;k<4;k++) { fun(a,&x); printf("%d,
[单选题]下列程序的运行结果是()。includevoid sub(int*s,int*y){static int m=4;*y=s[0];m£«£«;}下列程序的运行结果是( )。 #include<stdio.h> void sub(int*s,int*y) {static int m=4; *y=s[0]; m++; } void main() {int a[]={1,2,3,4,5},k; int x; printf("/n"); for(k=0;k<=4;k++) {sub(a,&x
[单选题]下列程序的运行结果是()。includevoid fun(int*s,int*p){static int t=3;*p=s[t];t££;}下列程序的运行结果是( )。 #include<stdio.h> void fun(int*s,int*p) {static int t=3; *p=s[t]; t--; } void main() {int a[]={2,3,4,5},k,x; for(k=0;k<4;k++) {fun(a,&x); printf("%d,",x); }
[单选题]下列程序的运行结果是()。includevoid sub(int*s,int*y){static int m=4:*y=s[m];m££;}下列程序的运行结果是( )。 #include<stdio.h> void sub(int*s,int*y) {static int m=4: *y=s[m]; m--; } void main() {int a[]={1,2,3,4,5},k,x; printf("/n"); for(k=0;k<=4;k++) {sub(a,&x); pr
[单选题]下列程序的运行结果是()。includevoid fun (int*s,int*p){ static int t=3; *p=s [t];下列程序的运行结果是( )。 #include<stdio.h> void fun (int*s,int*p) { static int t=3; *p=s [t]; t--; } void main() int a[]={2, 3, 4, 5},k; int x; for(k=0; k<4; k++) { fun (a, &x); printf("
[单选题]下列程序段的运行结果是()。includevoid main(){char str[]="ABC",*p=str;printf("%d/n下列程序段的运行结果是( )。 #include<stdio.h> void main() { char str[]="ABC",*p=str; printf("%d/n",*(p+3)); }A.67B.0C.字符'C'的地址D.字符'C'
[单选题]下面程序的运行结果是()。includevoid main(){int i=1;while(i<=8)if(£«£«i%3!=2)cont下面程序的运行结果是( )。 #include<iostream.h> void main() { int i=1; while(i<=8) if(++i%3!=2)continue; else cout<<i; }A.25B.36C.258D.369