C++ Print the info of two Managers using Single InheritanceC++ Print the info of two Managers using Single Inheritance
char bg;// bg=blood group
int ln;// ln=license number
char dpt;// dpt=department
char dsg;// dsg=designation
C++ (pronounced “cee plus plus”).C++ is a general-purpose,powerful programming language.C++ is regarded as an intermediate-level language, as it comprises a combination of both high-level and low-level language features. C++ was Developed by Bjarne Stroustrup starting in 1979.C++ adds OOPS-object oriented features such as classes, and other enhancements to the C programming language.