Question: Write a c program that creates a struct of 2 integers (x and y) and a char for the name. You will then loop through

Write a c program that creates a struct of 2 integers (x and y) and a char for the name. You will then loop through the command line and create multiple structs of this. An example of the input would be:

./program 2 3 Bob 7 6 Jimmy 3 10 Tammy

Your code should then create structs from this image and return them as:

Struct1 2 3 Bob

Struct2 7 6 Jimmy

Struct3 3 10 Tammy

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!