Question: Compare two structures For this task you have to make a function compare_structures() that takes pointers to the two structures to be compared. It should
Compare two structures
For this task you have to make a function compare_structures() that takes pointers to the two structures to be compared. It should return true, if the two structure variables contain exactly the same data, false otherwise.
The function has the following prototype:
bool compare_structures(struct part * p1, struct part * p2);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
