Variable named 'unix' has value 1
本问题已经有最佳答案,请猛点这里访问。
如果我写这个程序 -
1  | 
这个编译正确,并打印
1  | 
这给出了错误 -
1  | error: 'blah' undeclared (first use in this function)  | 
正如所料。
那么,为什么
1 2 3 4 5 6  | 
无法编译(即使在
1 2 3 4  | unix.c: In function ‘main’: unix.c:4:16: error: ‘unix’ undeclared (first use in this function) {printf("%d ",unix);  |