Sum of two arrays

my code is showing only one correct test cases.

Kindly copy your code on ide.codingblocks.com and then save it and provide us the link so to view your code.