C++ Quiz 2

C++ Quiz 2

You must specify void in parameters if a function does not have any arguments.



Function overloading does not depend on _______ .





Destructors are used to …..





C++ supports …..





Constructor must have same name as …..





What will be the outputof following code ? int main () { const int i = 10; const int j = i+10; // line 4 cout << i++; // line 5 }





What is appended to strings in C++?





Which of the following statement can be used to 123000 as a float number?





Can a class have parent and child classes at the same time?





For multiple inheritance, we need to use the following operator?