undef : undef « Preprocessor « C Tutorial






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








12.3.undef
12.3.1.undef