单选题
将两个字符串连接起来组成一个字符串时,选用______ 函数。
A、
strlen()
B、
strcpy()
C、
strcat()
D、
strcmp()
【正确答案】
C
【答案解析】
[解析] 将两个字符串连接起来组成一个字符串,选用strcat 函数来连接。
提交答案
关闭