On Sat, Dec 17, 2011 at 11:20:30AM +0530, 0 wrote: > > > > > Does 'C' language specification has 'boolean' datatype ? > > > > Nope, just define one using typedef such as, > > #define true 1 > #define false 0 > typedef int bool;
This is a bad thing to recommend given that there is a standard header <stdbool.h> for the same purpose. And since it is C99, it should be there on any system. --- Ashok Gautham. _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
