下列程序段的运行结果是( )。 #include<stdio.h> void main() { char str[]="ABC",*p=str; printf("%d/n",*(p+3)); }
A.67
B.0
C.字符'C'的地址
D.字符'C'
[单选题]下面程序段的运行结果是()。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 main(){ char str[]="ABC",*p=str;printf("%d/下列程序段的运行结果是( )。#include<stdio.h>void main(){ char str[]="ABC",*p=str; printf("%d/n",*(p+3));}A.67B.0C.字符'C'的地址D.字符'C'
[单选题]下面程序的运行结果是()。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=”12123434”;int x1=0,x2=0,x下列程序的输出结果是( )。 #include<iostream.h> void main() {char*str=”12123434”; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!=’/0’;i++) switch(str[i]) {case’1’:x4++; case’2’:x3++; case’3’:x2++; ca
[单选题]下列程序的输出结果是()。includevoid main(){char*Str;str="testI";cout<
[单选题]下列程序的输出结果是includevoid main( ){char*str="12123434";int xl=0,x2=0,x3=下列程序的输出结果是 #include<iostream.h> void main( ) {char*str="12123434"; int xl=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!='/0';i++) switch(str[i]) {case'1':x4++; case'2':x3++; case'3'
[单选题]下述程序的输出结果是()。includevoid main(){char a=1,b=2;char c=a^b<<2;printf("/n%下述程序的输出结果是( )。 #include<stdio.h> void main() {char a=1,b=2; char c=a^b<<2; printf("/n%d",C); }A.9B.10C.12D.2
[单选题]下述程序的输出结果是()。includevoid main(){char a=3,b=1;char c=a^b<<2;printf("%d"下述程序的输出结果是( )。 #include<stdio.h> void main() {char a=3,b=1; char c=a^b<<2; printf("%d",C; }A.1B.7C.3D.2
[单选题]下面程序的运行结果是includevoid delch(char*s){int i,j;char *a;a=S;for(i=0,j=0;a[下面程序的运行结果是 #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() { c
[单选题]下列程序的输出结果是includevoid main(){char*str="12123434";int x1=0,x2=0,x3=0下列程序的输出结果是 #include<iostream.h> void main() {char*str="12123434"; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!='/0';i++) switch(str[i]) {case'1':x4++; case'2':X3++; case'3':