Question: in c Q1) Test linking: a. Write the following four C source files and complete the functions code using only the variables defined main.C: #define


in c
Q1) Test linking: a. Write the following four C source files and complete the functions code using only the variables defined main.C: #define N 4 void print(int X[]); int isCommon (); void union ); int main)t print(A); print(B); union(); if (isCommon()) printf ("Found common elements ); else printf ("No common elementsIn"); return 0; fun2.c: int isCommon () int i,j; /* return whether there are common elements in A and B or not us ing search) fun3.c: int union ()t int i; /* Print elements in A or B using search()*/ 1I P age
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
