
Write a function that adds up the integers of a range described by two pointers, where the second one marks the slot just after the last integer to read.
sum_range(a, a + 5) with a = {3, 8, 1, 9, 4}25sum_range(a + 1, a + 4) with a = {10, 20, 30, 40, 50}90sum_range(a, a) with a = {7, 7, 7}0sum_range.c
Run the tests to grade your code
Write a function that adds up the integers of a range described by two pointers, where the second one marks the slot just after the last integer to read.
sum_range(a, a + 5) with a = {3, 8, 1, 9, 4}25sum_range(a + 1, a + 4) with a = {10, 20, 30, 40, 50}90sum_range(a, a) with a = {7, 7, 7}0sum_range.c
Run the tests to grade your code
Memory will appear here