下面程序的运行结果是()。#include<stdio.h>#include<string.h>main(){char*p1,*p2,str[50]=”abc”;p1=”abc”;p2=”abc”;strcpy(str+1,strcat(p1,p2));printf(“%s\n”,str);}


下面程序的运行结果是()。#include<stdio.h>#include<string.h>main(){char*p1,*p2,str[50]=”abc”;p1=”abc”;p2=”abc”;strcpy(str+1,strcat(p1,p2));printf(“%s\n”,str);}

A.abcabcabc

B.bcabcabc

C.aabcabc

D.cabcabc

正确答案:C


Tag:C语言程序设计基础 程序 时间:2021-11-28 15:13:35