Question: why do we use this pointer instead if the getters and setters in this code? c++ Untitled 1.cpp - Dev-C++ 5.11 it Execute Tools AStyle

why do we use this pointer instead if the getters and setters in this code?
c++
why do we use this pointer instead if the getters and setters

Untitled 1.cpp - Dev-C++ 5.11 it Execute Tools AStyle Window Help itled1.cpp \#includeciostream \#includesstring> using namespace std; class Employee\{ //constructor public: Employee(string name, string id, int exp, float sal) . this > name =name; this id = id; this exp =exp; this salesal; ) 11 the four asked operators ==,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!