Array - sum of 2 array help

Sir , can you please tell what corner cases am I missing out?
below is my code -
https://ide.codingblocks.com/s/69779

sir, earlier the sample test case was running fine. but now its showing wrong output.