Pulkit Govrani

I am a front-end developer and a technical writer. I try to share my knowledge of programming through the blogs. You can connect me through LinkedIn.

Dynamic Initialization of Objects in C++

Dynamic initialization states that we are initializing the objects at the runtime. Since we use constructors to initialize everything, here we are going to use dynamic constructors. Here is an example of dynamic initialization: Output: This dynamic initialization can help us to create different constructors having the same function name but different parameters. If you …

Dynamic Initialization of Objects in C++ Read More »

this Pointer in C++

‘this’ is a reserved keyword in c++. It is used to get the variables or member functions present in the current class. ‘this’ pointer is not available for the friend functions because they are not members of class. It is given as an implicit argument to the member functions. Let’s see the code below to …

this Pointer in C++ Read More »