2/6/00
COM1100 Winter2000 Yuhong Yin
3
Type bool
nSyntax: bool declarators;
nThis keyword is an integral type. A variable of this type can have values true and false. nAll conditional expressions now return a value of type bool. nFor example, i!=0 now returns true or false depending on the value of i.
n