下列程序段的运行结果是( )。#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;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(){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=”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 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':
[单选题]下列程序的输出结果是includevoid main(){char*str="12123434"; int x1=0,x2=0,x3=下列程序的输出结果是 #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'l':x4++; case'2':X3++; case'3':
[单选题]下面程序的运行结果为()。includevoid main(){char a=‘3’;switch(A) {case’3’:cout<下面程序的运行结果为( )。 #include<iostream.h> void main() { char a=‘3’; switch(A) { case’3’:cout<<“3”; case’2’:cout<<“2”;break; default:cout<<“1”; } }A.3B.321C.31D.32