R
Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x = y);
The assignment operator (=) assigns the value of y to x and returns the value of y, which is 20.
You must be Logged in to update hint/solution
Be the first to start discuss.
Q. Which of the following relationship is known as inheritance relationship?
Q. Which of the following is true about virtual functions in C++?
Q. For automatic objects, constructors and destructors are called each time the objects
Q. What does the 'static' keyword do when applied to a local variable inside a function?
Q. A language which has the capability to generate new data types are called
Q. If a function is friend of a class, which one of the following is wrong?
Q. What is the output of below program?
Q. When a virtual function is redefined by the derived class, it is called___________.
Discusssion
Login to discuss.