C++

Hierarchical inheritance

Hiearchical inheritance is an inheritance where there is a single base class and multiple derived class.  

Output-: Manager   enter the name of employee  messi enter the salary of an employee 100 enter the title of manager manager   teacher   enter the name of employee ronaldinho enter the salary of an employee 50 enter the faculty of teacher football …

Hierarchical inheritance Read More »

What is ambiguity and function overriding? How they can be resolved? Explain each of them with suitable example.

This blog post is the second method of resolving the function overriding problem. First method can be found here-: http://www.scitechtop.com/1what-is-ambiguity-and-function-overriding-how-they-can-be-resolved-explain-each-of-them-with-suitable-example/ Accessing overridden members of a base class by the help …

What is ambiguity and function overriding? How they can be resolved? Explain each of them with suitable example. Read More »

Do NOT follow this link or you will be banned from the site! Scroll to Top