mergeeverytwointegers

CF

Function mergeEveryTwoIntegers

The function/method mergeEveryTwoIntegers accepts two arguments – SIZE and arr. The integer SIZE represents the size of the integer…