Newer
Older
UbixOS / contrib / tcc / tests / tests2 / 14_if.c
@Christopher W. Olsen Christopher W. Olsen on 29 Jan 2020 280 bytes TinyCC
#include <stdio.h>

int main()
{
   int a = 1;

   if (a)
      printf("a is true\n");
   else
      printf("a is false\n");

   int b = 0;
   if (b)
      printf("b is true\n");
   else
      printf("b is false\n");

   return 0;
}

// vim: set expandtab ts=4 sw=3 sts=3 tw=80 :