c) Write a program to show that the declaration of a class ‘Rectangle’, which derives from
the class ‘square’, which in turn derives from the class ‘shape’.
Write a program to show that the declaration of a class ‘Rectangle’
in C and CPP