Question: Consider two single dimensional Array of size 50 and 100 respectively. Write a program in C to find out the elements which are common
Consider two single dimensional Array of size 50 and 100 respectively. Write a program in C to find out the elements which are common in both arrays. Input: First Array: 2 35167 Second Array: 10 3 5 8 4 11 Output: Common Elements: 3 5
Step by Step Solution
3.49 Rating (172 Votes )
There are 3 Steps involved in it
C code include int ifexistsint z int u int v int i if u0 return 0 for i0 i 0 pri... View full answer
Get step-by-step solutions from verified subject matter experts
