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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!