Computer scienceProgramming languagesC++Operators and expressions

Logical operators

What's the output

Report a typo

What will be the output of the following code snippet?

#include <iostream>

int main() {
    bool a = true;
    bool b = false;
    std::cout << (a && b);
    
    return 0;
}
Select one option from the list

Create a free account to access the full topic