https://ide.codingblocks.com/s/53235
whats wrong with this code
Array reverse problem
Hey, as the array input is having 5 elements so their index will be from 0 to 4. So, update your code’s line:33 as rvereseArray(arr, 0,4);
pass the end index as 4 not 5.