class StringRev{
char s[20];
public:
StringRev(){}
StringRev(char *p){
strcpy(s,p);
}...#include<iostream.h>
#include<conio.h>
#include<string.h>
class StringConcat{
char s[20];
public:...A class is derive from a class which is derive from another class is known as multilevel inheritance or we can say derived class work as a base class for another derived class called multilevel inheritance....When a class is derived from single base class and derived class can’t work as base class for another class called single level inheritance.
Example:
class A{...Like any other function, a constructor can also be overloaded with more than one function that have the same name but different types or number of parameters....Destructors are also special member functions used in C++ programming language. Destructors have the opposite function of a constructor....