this pointer Basic Concept: By default, the compiler provides each member function of a class with an implicit parameter that poi...
Read More
Showing posts with label Object oriented programming. Show all posts
Showing posts with label Object oriented programming. Show all posts
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
Subscribe to:
Posts (Atom)