How to use boolean datatype in C post