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
Get step-by-step solutions from verified subject matter experts
