【发布时间】:2011-10-24 18:53:13
【问题描述】:
考虑一个类似的函数
char* strcpy (char* destination, const char* source);
(address) source 处的给定值是 const,因为函数的作者想表明 source 的值不会被 strcpy 更改。指针本身不会被 strcpy 更改为。为什么不写
char* strcpy (char* destination, const char* const source);
非常感谢。
【问题讨论】: