题型介绍:1。试写一函式charcopystr(intn,constcharstr),将str字符串拷贝n次後传回。2。应用main()函式通话,通话描述dupstrcopystr(n,srcstr);3。印出dupstr。 include include include chara〔80〕;charcopystr(intn,constcharstr){intkstrlen(str);charspace〔〕;staticchara〔80〕;strcpy(a,str);for(inti1;i){strcat(a,space);strcat(a,str);}}voidmain(void){intn4;charsrcstr〔〕chardupstrcopystr(n,srcstr);puts(dupstr);}