Why does this line of code work in this scenario?
cout << ((*i)->getFirstName());
The context
class Employee{