this pointer Basic Concept: By default, the compiler provides each member function of a class with an implicit parameter that poi...
Read More
Constant objects and constant member functions
Constant objects and member functions Basic Concept: A function is made into a constant function by placing the keyword cons...
Read More
Copy Constructors
Copy Constructors CONCEPT A copy constructor is a special constructor that is called whenever a new object is created and in...
Read More
Passing Objects to Functions
Passing Objects to Functions CONCEPT Class objects may be passed as arguments to functions. EXPLANATION As we know how to ...
Read More
Default Constructor
Default Constructor CONCEPT Default Constructor is also called as Empty Constructor which has no arguments and It is Automatical...
Read More
Destructors
Destructors CONCEPT A destructor is a member function that is automatically called when an object is destroyed. EXPLANATION ...
Read More
Types of Constructors
Types of Constructors Three types of constructors are discussed below Please click on the link below which you want to study 1-...
Read More
Overloading Constructors
Overloading Constructors CONCEPT Multiple constructors with the same name may exist in a C++ program, as long as their parameter l...
Read More
Constructors
Constructors CONCEPT A constructor is a member function that is automatically called when a class object is created. EXPLANA...
Read More
Use of Scope Resolution Operator
Use of Scope Resolution Operator Before reading this please go through my last Post Click here to view . 1 / / This program demons...
Read More
Defining Member Functions
Defining Member Functions CONCEPT Class member functions can be defined either inside or outside the class declaration. EXPLAN...
Read More
Accessing an Object’s Members
Accessing an Object’s Members Public members of a class object are accessed with the dot operator . For example , the following statem...
Read More
Introduction to Objects
Introduction to Objects CONCEPT Objects are instances of a class. They are created with a definition statement after the class has...
Read More
Subscribe to:
Posts (Atom)