1

Let us understand assignment operator with the help of an example of employeeData class.#include #include using namespace std;class employeeData {unsigned int m_salary; char* m_name; public:~ employeeData() { if (m_name) { delete []m_name; }} employeeData() { cout

Read this post on allabouttechnologies.co.in


Karan Arora

blogs from Chandigarh