ray14
asked on
create a common array
Hi,
I have 2 arrays : arr1(5) , arr2(3) . How can I create a third array which contains only the common items in arr1 & arr2
Important: arr2() may becomes one time longer than arr1() , I mean that their long are not fixed
I look forward the code which can do that.
Thanx
I have 2 arrays : arr1(5) , arr2(3) . How can I create a third array which contains only the common items in arr1 & arr2
Important: arr2() may becomes one time longer than arr1() , I mean that their long are not fixed
I look forward the code which can do that.
Thanx
Are the array's sorted in any particular order?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi ameba,
Thanks for your answer and it is nice to receive your help again. As I promised in my last question I’ll increase the points by +50 then it will be 100 thanks again.
Ray14
Thanks for your answer and it is nice to receive your help again. As I promised in my last question I’ll increase the points by +50 then it will be 100 thanks again.
Ray14
Thank you :-)