Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions

Technical Discussion :: C++

5. What Is Inheritance? What is the diamond problem that can occur with multiple inheritance? Explain an example.


Inheritence is deriving parent(base) class properties to derived class.

The Diamond Problem :


   /  \

  B   C

   \   /


Now Class B

Asked In :: TCS Accenture Sopra Steria Societe Generale

Post Your Answer Here:

Name *
Alert me

Post Your Reply Here:

Report Error

Please Login First Click Here