單項選擇題

設(shè)已定義:chars1[20]=”Youare”,s2[9]=”welcome!”;若要形成字符串”Youarewelcome!”,正確的語句是()

A.strcat(s1,s2)
B.strcpy(s1,s2)
C.s1+s2
D.s1&s2

微信掃碼免費搜題