Sum of two arrays

my code is showing segmentation fault.Please help