单项选择题
在执行下述程序时,若从键盘输入6和8,则结果为 main() { int a,b,s; scanf("%d%d",&a,&b); S=a if(a<b) s=b; S*=S; printf("%d",s);}
A.36
B.64
C.48
D.以上都不对
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序 #include<string.h> main() {char p[20]={'a','b','c','d'},q[]= abc ,r[]= abcde ; strcat(p,r);strcpy(p+strlen(q),q); printf( %d n ,strlen(p)); } 程序运行后的输出结果是
A.9
B.6
C.11
D.7
点击查看答案&解析
单项选择题
以下合法的字符型常量是
A.'\x13'
B.'\081'
C.'65'
D."\n"
点击查看答案&解析
相关试题
有以下程序 #include<stdio.h> main...
有以下程序 main() {int a[4][4...
有以下程序 #include<stdio.h> main...
设有如下三个关系表Amn
现有如下程序段 #include stdio.h mai...