Suppose that setA, setB, setC, and setD are defined as follows:
int setA [ ] = {3, 4, 5, 8, 9, 12, 14};
int setB [ ] = {2, 3, 4, 5, 6, 7, 8};
int setC [ ] = {2, 5, 5, 9};
int setD [ ] = {4, 4, 4, 6, 7, 12};
Further suppose that you have the following declarations:
int
AunionB[10];
int AunionC[9];
int BunionD[10];
int AintersectB[4];
int AintersectC[2];
What is stored in AunionB, AunionC, BunionD, AintersectB, and AintersectC after the following statements execute?
set_union (setA, setA + 7, setB, setB + 7, AunionB);
set_union(setA, setA + 7, setC, setC + 4, AunionC);
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.