V
Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x *= y);
The compound assignment operator (*=) multiplies x by y and returns the new value of x, which is 200.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which of the following is selection statement in C++?
Q. When “struct” is used instead of the “class” keyword, will anything change in the program?
Q. An exceptio in C++ can be generated using which keywords.
Q. Which of the following is the correct way to define a constant pointer in C++?
Q. The operator used for de-referencing or indirection is ____
Q. Which of the following members do get inherited but become private members in child class
Q. Which of the following is Right Shift operator?
Q. Which of the following is not a standard exception built in C++.
Q. A virtual function that has no definition within the base class is called____________
Discusssion
Login to discuss.