If there are two arrays
arr1[]={1,4,5,6}
arr2[]={1,5}
I want to get the output as arr[]={4,6} i.e i have to remove all the common elements that arr1 and arr2 have and printing the required output . Can any one give me the program in C++ for this with normal looping techniques?