int i[]={10,20,3,2,4};
int j[]={5,2,15,16,18};
need a new array which will be having elements based on if 'array i' will be compared to 'array j'
Ex:
10 will be compared against 'array j'and and so on ,Only unmatched elements index will be the elements of new array
for 10,20,3,4 will be unmatched so their indexes will be printing into another array
output :
{0 1 2 4}
please help me solve this