Why the above code does not print the value of FOO, saying that it was not declared?Code:struct s { int i; }; typedef struct s service; #ifdef __SERVICE__ #define FOO 2 #endif main() { printf("%d",FOO); }
Why #ifdef condition evaluates to false though 'service' was defined with typedef earlier?