Deep Copy and Shallow Copy in C++ The definition of deep copy and shallow copy is given below: Creating a copy of object by copying data of...
Read More
What are initializer lists in C++?
What are initializer lists in C++? 1. Initializer list is used to initialize data members of a class. 2. The list of members to be initial...
Read More
File Handling in C++ using Class
File Handling in C++ using Class You should know about data persistence and life of data inside a program before knowing about file handling...
Read More
Templates in C++
Templates in C++ 1. The keyword ' template ' is used to define function templates and class templates in C++. 2. It is a way to ma...
Read More
Abstract Class in C++ with examples
Abstract Class in C++ 1. A class containing at least one pure virtual function is called an abstract class in C++ . 2. We cannot instanti...
Read More
Virtual Functions and Runtime Polymorphism in C++
Points to know before gathering information about virtual function. Base class pointer can point to the object of any of its descendant clas...
Read More
Method Overriding or Function Overriding in C++
Method Overriding or Function Overriding in C++ In this tutorial you will come to know all about method overriding in C++, method overloadi...
Read More
New and Delete Operator in C++
New and Delete Operator in C++ 1. new operator is used to allocate memory dynamically at run time. This is called DMA ( Dynamic Memory A...
Read More
This Pointer in C++ with simple example program
This Pointer in C++ with simple example program Before knowing about ' this ' pointer in C++, let us first know about the object po...
Read More
Constructor and Destructor in Derived class in C++
Constructor and Destructor in Derived class in C++ We know that constructor is invoked implicitly when an object is created. But do you thin...
Read More
Inheritance in C++
Inheritance in C++ 1. Inheritance is the process of inheriting behaviour and properties of existing class into a new class. 2. Inheritance ...
Read More
Subscribe to:
Posts (Atom)