Question: 18- Define a structure called employee that has two member variables of type int called id and C string called name. In the main create
18- Define a structure called employee that has two member variables of type int called id and C string called name. In the main create a variable of that type employee called emp1. Place the address of emp1 variable into a pointer pointing to employee called emptr. Read an id and name from the keyboard and use the pointer to the structure variable, to place these values into emp1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
