// -------------------------------------#include stdio.h#define TRUE1#define FALSE 0int main( ) {

编程学习网为您整理以下代码实例,主要实现:C语言typedef与#define,希望可以帮到各位朋友。

// -------------------------------------
#include <stdio.h>

#define TRUE  1
#define FALSE 0

int main( ) {
   printf( "Value of TRUE : %d\n", TRUE);
   printf( "Value of FALSE : %d\n", FALSE);

   return 0;
}