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
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
Get step-by-step solutions from verified subject matter experts
