Arrays : Sum of two Arrays

I am getting segmentation fault. Please modify my code and correct it.