测试一些C特性

This commit is contained in:
nonstriater
2014-05-18 13:02:39 +08:00
parent 7fc950aa3b
commit 98ed4336bc
33 changed files with 618 additions and 47 deletions
+19
View File
@@ -0,0 +1,19 @@
#include "c13-1.c"
extern int *arr;
int main()
{
arr[1] = 100;
return 0;
}
/**
类型并不匹配,所以导致这里的arr并没有指向c13-1.c中声明的arr[80],应该修改为 extern int arr[]
int *arr 和 int arr[80] 区别?
*/