In C Hackerrank Solution For Arrays