#include #include using namespace std; //myClassPrivate1.cpp //class cotained array //pointer represents an argument-> for an array object //operator -> typedef class Emp { private: string deptno; public: string name;string sal; int id; void get_eid(int); } pEmp; void pEmp::get_eid(int n1) { string comID; deptno ="sales"; comID = (string)id + deptno; } int main() { pEmp emp; cout<<"n enter a number " ; cin>> emp.id; // call function get_id(int); emp.get_eid(emp.id); return 0; }