I am a beginner in c. I write a function to return an array containing all elements common to two given arrays containing distinct positive integers.
Examples: