[Ilugc] [Technical] Does 'C' language specification has 'boolean' datatype ?
- From: 0@xxxxxxxxxxx (0)
- Date: Sat, 17 Dec 2011 11:20:30 +0530
Does 'C' language specification has 'boolean' datatype ?
Nope, just define one using typedef such as,
#define true 1
#define false 0
typedef int bool;
--
0
Other related posts: