Destructor in C++ Destructor is a special member function that is executed automatically when an object is destroyed that has been created by…
Read moreType of constructor in C++ i. Default constructor ii. Parameterized constructor iii. Co…
Read moreConstructor in C++ i. Constructor is a special type of function which has the same name as the class name. ii. Constructor is being aut…
Read moreWhat is class variable? Class variable is a container of data member which provide memory space to store the data. The value stored of class …
Read moreDifferent between Class and Structure in C++ Class Structure Class is defining using keyword class. …
Read more
Social Plugin