This is a compilation of solutions of some of the questions in classes and inheritance domains of C++ practice in hackerrank.
<br>
The links for the above mentioned domains is given below:<br>
  https://www.hackerrank.com/domains/cpp?filters%5Bsubdomains%5D%5B%5D=classes&filters%5Bsubdomains%5D%5B%5D=inheritance&badge_type=cpp
<br>
The name of the file is given same as the question for convenience.
