Sum of two arrays

I am unable to get the correct answer

Save your code on ide.codingblocks.com and share its link.