Explain the differences between list x; & list x();.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Explain friend class?

0 Answers  


How do you invoke a base member function from a derived class in which you’ve overridden that function?

0 Answers  


If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

0 Answers  


What do you mean by funtion prototype?

0 Answers  


What do you mean by friend class & friend function in c++?

0 Answers  






Which of the following operator cannot be overloaded?

2 Answers   TCL,


What are the different types of Storage classes?

5 Answers  


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.

2 Answers   Quark,


What happens if a pointer is deleted twice?

0 Answers   Flextronics,


Define a conversion constructor?

0 Answers  


What do you mean by const correctness?

0 Answers  


What is the error in the code below and how should it be corrected?

0 Answers  


Categories