What is the type specifier for boolean in C++?


The type specifier for boolean in c++ is bool. You can use it as −

bool myBoolean = true;

Updated on: 26-Feb-2020

128 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements