What are the advantages of pointers?
No Answer is Posted For this Question
Be the First to Post Answer
What is a stack? How it can be implemented?
What is flush () in c++?
Define virtual constructor.
What is a storage class? Mention the storage classes in c++.
What is difference between array and vector in c++?
What is an action class?
What is the difference between map and hashmap in c++?
What is c++ & why it is used?
What are static type checking?
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.
What are friend functions?
Explain deep copy and a shallow copy?