What is the difference between multiple and multilevel inheritance in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What are the five basic elements of a c++ program?
what is the use of templates?
How much do coding jobs pay?
What are the main features of c++?
What is volatile and pragma? When they are used?
Explain the difference between static and dynamic binding of functions?
What is cin clear () in c++?
Do you know the use of vtable?
What is rtti in c++?
Does c++ have arraylist?
What are the conditions that have to be met for a condition to be an invariant of the class?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.