Q.1.
What is the use of the flip function in bitset?
Q.2.
What happens when no argument is supplied to flip() function?
Q.3.
What happens when only one argument is supplied to flip() function?
Q.4.
What will be the output of the following C++ code? #include <iostream> #include <bitset> using namespace std; int main() { bitset<b1(95); bitset<b2 = b1 << cout<<b}
Q.5.
What will be the output of the following C++ code? #include <iostream> #include <bitset> using namespace std; int main() { bitset<b1(95); bitset<b2 = b1 >> cout<<b1<<endl<<b}