strcpy函数的作用是( )。 A. 排序字符串中字符 B. 比较字符串 C. 修改字符串 D. 拷贝字符串
strcpy 函数的作用是 拷贝字符串。
正确答案:D
解释:strcpy 是 C 语言标准库(string.h)中的一个函数,其原型为:
strcpy
string.h
复制
下载