//pointer to object #include <iostream.h> #include <conio.h> class employee { int code; char name[10]; float salary; public: void get() { cout << " Enter code : "; cin >> code; cout << " Enter name : "; cin >> name; cout << " Enter salary : "; cin >> salary; } void display() { cout...
Posts
Showing posts with the label pointer in cpp