// File: main3.C // // Testing the Person class #include #include #include "person.h" int main() { Person X("John Smith", 30) ; Student S("Joe Blow", 19, 2, 3.79) ; Faculty F("Dr. Foo", 45, 17) ; Person *pptr = &X ; Student *sptr = &S ; Faculty *fptr = &F ; Person **ptrptr ; ptrptr = &pptr ; ptrptr = &sptr ; ptrptr = &fptr ; }