更多“以下程序执行时如果输入Language Programming,则程序输出结果是? #include <stdio.h> main() { char str[30]; scanf("%s",str);…”相关的问题
第1题
以下程序段在执行时,输入18,38<回车>,执行结果是 int a,b; scanf("%d,%o",&a,&b); b+=a; printf("%d",b);
点击查看答案
第2题
以下程序段执行时输入:java Test 则输出结果为()。 class Test { public static void main(String args[ ]) { System.out.println(args[0]); } }
A.无任何输出
B.产生数组访问越界异常
C.输出 0
D.输出 Test
点击查看答案
第3题
【单选题】若程序执行时的输入数据是2473<回车>,则下述程序的输出结果是______。 #include <stdio.h> void main() { int cs; while((cs=getchar())!='n') {switch(cs-'2') { case 0: case 1: putchar(cs+4); case2: putchar(cs+4); break; case 3: putchar(cs+3); default:putchar(cs+2); } } }
A.668977
B.668966
C.6677877
D.6688766
点击查看答案
第4题
【单选题】NextDate程序的测试中,如果输入1979-12-31,输出结果是()
A.1979-1-1
B.1980-1-1
C.1980-01-01
D.输入无效
点击查看答案
第5题
如果方框指令的ENO输出为深色,EN输入端有能流流入且指令执行时出错,则ENO端()能流流出。
点击查看答案
第6题
程序运行时,若输入66,则输出结果是: i=eval(input()) if(i%3==0 and i%11==0): print("yes") else: print("no")
点击查看答案
第7题
设有以下程序段 char a[20]; scanf("%s", a); printf("%s", a); 运行时若输入字符串"Wang wei",其输出结果是()。
A.Wang
B.wei
C.Wang wei
D.程序错误
点击查看答案
第9题
伪指令只在程序编译时起作用,程序执行时不起作用。
点击查看答案