Mega Code Archive

 
Categories / C Tutorial / Preprocessor
 

Undef

To undefine the value defined by '#define' and specify a new value. #include <stdio.h> #define VAL 40;      #undef  VAL           #define VAL 50       main() {     printf ("%d\n", VAL);   } 50