R
Q. What is the output of the following program?
#includeusing namespace std; int main () { // local variable declaration: int x = 1; switch(x) { case 1 : cout << "Hi!" << endl; break; default : cout << "Hello!" << endl; } }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which of the following operators is called “Output Flow Operator”?
Q. In C++ << operator used for shifting bits can also be used for
Q. Reusability of the code can be achieved in CPP through _____
Q. Which classes allow primitive types to be accessed as objects?
Q. Choose the type of loop which is guaranteed to execute at-least once?
Q. Reusability of code can be achieved in CPP through:
Q. The difference between P and ‘P’ is
Q. When overloading unary operators using Friend function,it requires_____ argument/s.
Discusssion
Login to discuss.