Question: Write a program in C++ with a Employee class with id, name and salary; declare 3 dynamic objects (pointer and new keywords) and push them
Write a program in C++ with a Employee class with id, name and salary; declare 3 dynamic objects (pointer and new keywords) and push them to the vector and print the vector.
Step by Step Solution
3.56 Rating (153 Votes )
There are 3 Steps involved in it
We will be using bitsstdch header file which includes most of the fu... View full answer
Get step-by-step solutions from verified subject matter experts
