Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous Difficulty: Medium

What will be the output of the following C++ code? #include <iostream> #include <bitset> using namespace std; int main() { bitset<8> b1(string("15")); cout<<b1; }

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following Java program? class equality { int x; int y; boolean isequal() { return(x == y); } } class Output { public static void main(String args[]) { equality obj = new equality(); obj.x = 5; obj.y = 5; System.out.println(obj.isequal()); } } Where have the program and data to be located before the ALU and control unit of a computer can operate on it? A relationship is which of the following? In Python, which of the following is used to format a string left-justified within a field? What is the other name for a postfix expression?