C++ keywords: and
From cppreference.com
Usage
- alternative operators: as an alternative for
&&
Example
Run this code
#include <iostream> int n; int main() { if(n > 0 and n < 5) { std::cout << "n is small and positive\n"; } }