10.9 — Member selection with pointers and references
Member selection for structs and references to structs In lesson , we showed that you can use the member selection operator (.) to select a member from a struct object: #include <iostream> struct Employee { int id {}; int age {}; double wage {}; }; int main() { Employee joe …