Defined() 操作符

Python/Java学习交流群:369606713


Defined() 操作符

#include <stdio.h>



#if !defined (MESSAGE)

   #define MESSAGE "You wish!"

#endif



int main(void) {

   printf("Here is the message: %s\n", MESSAGE);  

   return 0;

}