Create ex2.c

emulating logical TRUE/FALSE in C