阅读背景:

C编程 - 操作字符串数组时的分段错误

来源:互联网 

I am struggling with a segmentation fault that occurs when the dns variable is changed from size 10 to size 32. I believe the declaration of the dns ariable in main is creating an array of 10 strings, and then when increased to 32, an array of 32 strings.I am struggling with a segmentation fault that




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

分享到: