阅读背景:

C:从另一个文件运行函数时出现分段错误

来源:互联网 

When ever i run this code, it works up until i get to the printf statement in my main function, thats when i get a segmentation fault error. so it will run like "enter how many numbers you want" 3 "Enter the numbers in the array" 1 2 3 array[0] = 1 array[1] = 2 array[2] = 3 segmentation error. Can you guys please tell me why im getting this error and how to fix it? thank you When ever i run this code, it works up until i




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

分享到: