V
Q. What will be the output of the following C++ code? int x = 10; int y = 5; cout << x / y;
In integer division, the result is the quotient of the division. So, 10 / 5 equals 2.
You must be Logged in to update hint/solution
Q. Which of the following is the correct way to define a copy assignment operator in C++?
Q. Which function is used to position back from the end of file object?
Q. ____ storage class variables are defined in another program.
Q. Which of the following means "The use of an object of one class in definition of another class"?
Q. What is the output of the following C++ code?
Q. Which of the following is not a valid access specifier in C++?
Q. Which of the following is not a member of class?
Q. What is the number of parameters that a default constructor requires?
Discusssion
Login to discuss.