Inheritance in C++

Inheritance refers to a class's ability to derive properties and characteristics from another class. One of the most important aspects…

3 years ago

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,…

3 years ago

Copy Constructor in C++

A copy constructor is a type of constructor that creates a copy of another object. If we want one object…

3 years ago

References in C++

C++ references allow you to give a variable a second name that you can use to read or modify the…

3 years ago

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…

3 years ago

const keyword in C++

Const keyword define constant values that cannot change while the program is running. A const variable must be assigned a…

3 years ago

static keyword in C++

When the static keyword is used, variable or data members or functions can no longer be changed. It is allocated…

3 years ago

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…

3 years ago

Function Overloading in C++

What is Function Overloading & why is it used? Function overloading is an object-oriented programming feature in which two or…

3 years ago

Inline Function in C++

What is the Inline function & why is it used? When the program executes the function call instruction, the CPU…

3 years ago