pairs

CF

Reversed Sum of Pairs

An array of N integers is passed as input. The program must print the sum of every two consecutive elements in the array from last. Boundary…