Question: Write a C++ function that accepts two array of integers as parameters and prints/display the elements common in both the arrays. Write a complete program
Write a C++ function that accepts two array of integers as parameters and prints/display the elements common in both the arrays. Write a complete program to test the function.
Example:
Arr1: 2 5 18 16 3 12 7 1 20 10
Arr2: 3 7 6 8 15 9
Common element: 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
