Is 'bool' a basic datatype in C++?

前端 未结 7 1481
暖寄归人
暖寄归人 2020-12-02 13:02

I got this doubt while writing some code. Is \'bool\' a basic datatype defined in the C++ standard or is it some sort of extension provided by the compiler ? I got this doub

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 13:41

    Turbo c and c++ compiler does not support boolean (bool keyword) data type but dev c++ compiler supports boolean (bool keyword) data type.

提交回复
热议问题