Category: C++
-
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++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++Inline Function in C++
What is the Inline function & why is it used? When the program executes the function call instruction, the CPU…
October 11, 2022
-
C++Types of Class Member Functions in C++
Now, let’s look at some of the special member functions that can be defined in C++ classes. The following are…
October 9, 2022
-
C++Member Functions of Class in C++
A member function is a function that is declared as a class member. It is declared within the class in…
October 9, 2022
-
C++Accessing data members
Members of a class can be accessed directly within the class by using their names. Accessing a member outside the…
October 9, 2022
-
C++Access Modifiers in C++
Access modifiers, also known as Access specifiers, are used to implement Data Hiding, an essential aspect of Object-Oriented Programming. Data…
October 9, 2022
-
C++Classes and Objects in C++
The fundamental idea that the object-oriented approach revolves around in C++ is the concept of classes and objects. It increases…
October 4, 2022
-
C++Functions in C++
What are functions? A function is a collection of statements that accept input, perform some specific computation, and return output….
October 2, 2022
-
C++Storage classes in C++
Storage classes in C++ are type specifiers that aid in defining the lifetime and visibility of variables and functions within…
October 1, 2022