SHowing wrong output

code- https://ide.codingblocks.com/s/326450

Hey @anubhavb11 error is on line 8 .
Let me know if it issue still persist.

i dint get it whats the problem over there?

Condition is if(arr[i]==arr[j]){

But it should be if(arr[i]==arr2[j])