Use ifelse to define an action if the condition is not true.
#define USA 1 #define EUP 1 #include <stdio.h> #if (defined (USA)) #define currency_rate 46 #else #define currency_rate 100 #endif main() { int rs; rs = 10 * currency_rate; printf ("%d\n", rs); }
460