C Tutorial/Preprocessor/undef
Версия от 14:21, 25 мая 2010; (обсуждение)
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