I'd rewritten a simple C++ program using unix
as a variable name. But the program compilation failed.
#include <iostream>
int main() {
int unix = 1;
return 0;
}
After searching a lot on the internet I got to this website which helped me by saying that unix
is predefined macro equal to 1
.
I want to know list of all such predefined macros.