单项选择题
下列程序的输出结果是______。
#include<stdio.h>
main()
char *p1,*p2,str[50]="xyz";
p1="abcd";
p2="ABCD";
strcpy(str+2,strcat(p1+2,p2+1));
ptintf("%s",str);
A.xyabcAB
B.abcABz
C.ABabcz
D.xycdBCD
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
以下程序的输出结果是______。 int d=1; fun(int p) static int d=5; d+=p; printf( %d ,d); return(d); main() int a=3; printf( %d n ,fun(a+fun(d)));
A.699
B.669
C.6 15 15
D.6615
点击查看答案&解析
单项选择题
在C语言中,函数的隐含存储类别是______。
A.auto
B.static
C.extern
D.无存储类别
点击查看答案&解析
相关试题
当执行下面程序且输入a boy时,输出的结果...
下列程序的输出结果是______。 main...
若有宏定义如下: #define X 5 #def...
若有以下定义: int a[]=1,2,3,...
字符‘0’的ASCⅡ码的十进制数为48,且...