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