Wipro Interview Question

write c program for adding alternate no.s in array