单项选择题
有以下程序 #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"
点击查看答案&解析
单项选择题
以下程序的输出结果是 main() {int c=35;printf( %d n ,c&c);}
A.0
B.70
C.35
D.1
点击查看答案&解析
相关试题
有以下程序 #include<stdio.h> main...
有以下程序 main() {int a[4][4...
有以下程序 #include<stdio.h> main...
设有如下三个关系表Amn
现有如下程序段 #include stdio.h mai...