Question: how would you use two separate structure arrays in C? struct prop_def { char typeprop[20]; double rent; double main; int bed; int bath; }; typedef

how would you use two separate structure arrays in C?

struct prop_def { char typeprop[20]; double rent; double main; int bed; int bath; }; typedef struct prop_def prop;

struct prop_owner { int num; prop limit[50]; }; typedef struct prop_def prop;

using this function below to read input for two seperate input files for two different owners.

int getProp(FILE *fp, prop N[]);

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!