网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
当输入为″hello?″时,下面程序的执行结果是( )。
A.Rvfsu
B.h
C.?
D.hello
参考答案
更多 “ 当输入为″hello?″时,下面程序的执行结果是( )。A.RvfsuB.hC.?D.hello ” 相关考题
考题
当输入为"FoolSwalow"时,下面程序的执行结果是()。includemain(){char c;while(c!
当输入为"FoolSwalow"时,下面程序的执行结果是( )。 #include<stdio.h> main() {char c; while(c!='?') { c=getchar(); putchar(C); } }A.SwalowB.FoolC.Fool?D.?Swalow
考题
运行下面程序时,从键盘输入字母H,则输出结果是#includestdio.hmain(){ char ch;ch=getchar();switch(ch){case ′H′:printf("Hello!\n");case ′G′:printf("Good morning!\n");default:printf("Bye_Bye!\n");}}A.Hello!B.Hello! Good Moring!C.Hello! Good morning! Bye_Bye!D.Hello! Bye_Bye!
考题
当输入为"hello?"时,下面程序的执行结果是( )。 #includestdio.h main { char c; c=getchar; while(c!=?) { putehar(e);break; } }A. RvfsuB.hC.?D.hello
考题
运行下面程序时,从键盘输入字母H,则输出结果是includemain(){ char ch;ch=getchar();s
运行下面程序时,从键盘输入字母H,则输出结果是 #include<stdio.h> main() { char ch; ch=getchar(); switch(ch) { case 'H':printf("Hello!\n"); case 'G':printf("Good morning!\n"); default:printf("Bye_Bye!\n"); } }A.Hello!B.Hello! GoodMoring!C.Hello! Goodmorning! Bye_Bye!D.Hello! Bye_Bye!
考题
当输入为"quert?"时,下面程序的执行结果是includemain(){ char c;c=getchar();while(c
当输入为"quert?"时,下面程序的执行结果是 #include<stdio.h> main() { char c; c=getchar(); while(c!='?') { putchar(c); c=getchar(); } }A.quertB.RvfsuC.quert?D.rvfsu?
考题
当输入为“quert?”时,下面程序的执行结果是()indudemain(){char c; c=getehar(); while
当输入为“quert?”时,下面程序的执行结果是( ) #indude<stdio.h> main() {char c; c=getehar(); while((c=getchar())!='?')putchar(++c) ; }A.QuertB.vfsuC.quert?D.rvfsu?
考题
运行下面程序时,从键盘输入字母H,则输出结果是 main() { char ch; ch=getchar(); swimh(ch) {case'H':printf("Hello!\n"); case'G':printf("Good morning!\n"); default:printf("Bye_Bye!\n"); } }A.Hello!B.Hello! GoodMoring!C.Hello! Good moming! Bye_ye!D.Hello! Bye_ye!
考题
【单选题】有下面程序,从键盘输入字母H,则输出结果是() #include <stdio.h> int main() { char ch; ch=getchar(); switch(ch) { case 'H':printf("Hello!n"); case 'G':printf("Good morning!n"); default:printf("Bye_Bye!n"); } return 0; }A.Hello!B.Hello! Good morning!C.Hello! Good morning! Bye_Bye!D.Hello! Bye_Bye!
热门标签
最新试卷