Id like to determine the output of this code. I've never used bitset before.
Code:#include <iostream> #include <bitset> using namespace std; int main() { bitset<8> bits = 83; cout << bits << " "; cout << bits.to_ulong() << endl << endl; bits[0] = 0; cout << bits << " "; cout << bits.to_ulong() << endl << endl; bits[1] = 0; cout << bits << " "; cout << bits.to_ulong() << endl << endl; return 0; }