1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include <iostream> int main() { bool test = true; test = !test; std::cout << (int)test << std::endl; bool bob = 15; bob = !!bob; std::cout << (int)bob << std::endl; return 0; }
1 2
0 1