C++ keywords: and
Usage
- alternative operators: as an alternative for
&&
Example
#include <iostream> int n; int main() { if(n > 0 and n < 5) { std::cout << "n is small and positive\n"; } }
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/keyword/and