Question: int main ( ) { Employee * * p 1 ; Sales * p 2 ; Technician * p 3 ; Employee e 1 ;
int main
Employee p;
Sales p;
Technician p;
Employee e;
Sales sInsurance;
Technician tlab;
p &e;
p &s;
p &t;
p setSalary;
p setSalary;
p setSalary ;
p p;
p giveRaise ;
p;
p giveRaise ;
cout tgetSalary endl;
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
