Arrays=Target Sum Pairs, not passing any test case

https://ide.codingblocks.com/s/55676
Why is my code not passing test case if it’s giving the correct output ?

Hi Anikash, I’m closing this thread since your doubt has been resolved.