#include #define SIZE 32 class Employee { public: char name[SIZE]; // full name char ss[SIZE/2]; // social security no. unsigned age; private: float salary; }; int main() { Employee a = {"John Doe", "0001234567", 25, 1345.67}; Employee b = {"Mary Lou", "0003335555", 39, 2013.00}; float Employee::* f_ptr; unsigned Employee::*u_ptr; char (Employee::*str_ptr)[SIZE/2]; f_ptr = &Employee::salary; u_ptr = &Employee::age; str_ptr = &Employee::ss; cout << a.*u_ptr << double(a.*f_ptr) << a.*str_ptr; }