#include <iostream> #include <bitset> int main() { std::cout << std::bitset<8>(0b10 & 0b10 != 0) << "\n"; }
Standard input is empty
00000000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!