String reverse using operator overloading
By Manish Shandilya 2025-07-23
class StringRev{
	char s[20];
	public:
		StringRev(){}
		StringRev(char *p){
			strcpy(s,p);
		}...
Read More
String concat using operator overloading
By Manish Shandilya 2025-07-23
#include<iostream.h>
#include<conio.h>
#include<string.h>
class StringConcat{
	char s[20];
	public:...
Read More
Multilevel Inheritance in C++
By Manish Shandilya 2025-07-23
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....
Read More
Single level Inheritance
By Manish Shandilya 2025-07-23
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{...
Read More
Overloading Constructors / Multiple Constructors in C++
By Manish Shandilya 2025-07-23
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....
Read More
Destructors in C++
By Manish Shandilya 2025-07-23
Destructors are also special member functions used in C++ programming language. Destructors have the opposite function of a constructor....
Read More