Tag: C++ programming language
-
C++Function Overloading in C++
What is Function Overloading & why is it used? Function overloading is an object-oriented programming feature in which two or…
October 12, 2022
-
C++Constructors and Destructors in C++
Constructor: A constructor is a special member function of a class and shares the same name as of class, which…
October 13, 2022
-
C++const keyword in C++
Const keyword define constant values that cannot change while the program is running. A const variable must be assigned a…
October 16, 2022
-
C++Mutable keyword in C++
Mutable data members are those whose values can be changed in runtime even if the object’s type is constant. It…
October 16, 2022
-
C++References in C++
C++ references allow you to give a variable a second name that you can use to read or modify the…
October 18, 2022
-
C++Copy Constructor in C++
A copy constructor is a type of constructor that creates a copy of another object. If we want one object…
October 19, 2022
-
C++Class Members Pointers in C++
A pointer to a C++ class is created in the same way that a pointer to a structure is created,…
October 20, 2022
-
C++Inheritance in C++
Inheritance refers to a class’s ability to derive properties and characteristics from another class. One of the most important aspects…
October 21, 2022
-
C++Types of Inheritance in C++
There are 5 types of Inheritance in C++: Single inheritance Multiple inheritance Hierarchical inheritance Multilevel inheritance Hybrid inheritance Single Inheritance:…
October 23, 2022
-
C++Order of Constructor Call in C++
If we inherit a class from another class and create an object of the derived class, it is obvious that…
October 23, 2022
-
C++Upcasting in C++
Upcasting is the process of creating the derived class’s pointer or reference from the base class’s pointer or reference. It…
October 26, 2022
-
C++Method Overriding(Polymorphism)
What is Polymorphism? The term “polymorphism” refers to having multiple forms. Polymorphism is defined as the ability of a message…
October 26, 2022