Technical Interview Questions and Answers :: C++
31 / 187
Creating a new class, reusing the properties of the existing ones ,this mechanism of deriving a new class from the old one is called inheritance or derivation. The old class is referred to as the bare class and the new one is called the derived class or subclass.
32 / 187
Function overloading
33 / 187
A virtual function, equated to zero is called a pure virtual function. It is a function declared in a base class that has no definition related to the base class.
e.g.: virtual void display () =0;
34 / 187
A virtual function, equated to zero is called a pure virtual function. It is a function declared in a base class that has no definition related to the base class.
e.g.: virtual void display () =0;
35 / 187
Constructor is used to initialise class variable when object of class is created
36 / 187
No Discussion on this question yet!
37 / 187
No Discussion on this question yet!
38 / 187
No Discussion on this question yet!
39 / 187
No Discussion on this question yet!
40 / 187
No Discussion on this question yet!
You can check latest and updated CTS C++ Interview Questions and Answers on this page. You can filter the question set by the company's name. Looking for the right answer? Don't worry! You can click on view answer section and check the answer with the explanation. You can discuss the answer in the forum with other users easily. Login with Facebook and save the answer To Reading List right now!
Our site contains top IT companies placement paper and mock test to help the freshers and experienced candidate to get hands on experience on the pattern and type of questions. We have curated all the C++ technical interview questions and answers from previous candidates.