阅读背景:

字符串文字与C中的const char *

来源:互联网 

Why don't ANSI C compilers flag the use of a string literal argument in a function call in which the correponding parameter does not have a const qualifier? For example, the following code could generate an exception by trying to write to read only memory.Why don't ANSI C compilers flag the use of a st




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: