Kali Baranwalkalibaranwal.hashnode.dev·Apr 30, 2024C++ OOP INHERITANCE CONCEPT: Part 2INHERITANCE It is a concept of reusability, we reuse the property of existing class by inheritating from it. CODE: #include<iostream> using namespace std; class employee{ public: float salary; int id; employee(int inpId){ ...1 like·40 readsdiamond problem