If I write this program -
main(){printf("%d",unix);}
this compiles correctly, and prints 1
, although I had expected an 'unix undeclared' or similar error. But if I change to this-
main(){printf("%d",blah);}
This gives error-
error: 'blah' undeclared (first use in this function)
as expected.
So, why does unix
does not generate an error, and why is it's value 1? I tried Googling but nothing came up.