4-1 数组与指针不相同(p81)
file1.c:
file2.c:
事实上,这样操作,会在file2中引起错误(在我这里是 segmentation fault)。
改成 extern int mango[]
则不会有错误了。
Last updated
Was this helpful?
file1.c:
file2.c:
事实上,这样操作,会在file2中引起错误(在我这里是 segmentation fault)。
改成 extern int mango[]
则不会有错误了。
Last updated
Was this helpful?