
Write a function that allocates an integer array covering every value between two bounds, in the direction they imply.
int_range(3, 7)[3, 4, 5, 6, 7]int_range(-2, 1)[-2, -1, 0, 1]int_range(5, 2)[5, 4, 3, 2]int_range(0, 0)[0]int_range.cmalloc<stdlib.h>declares malloc
Run the tests to grade your code
Write a function that allocates an integer array covering every value between two bounds, in the direction they imply.
int_range(3, 7)[3, 4, 5, 6, 7]int_range(-2, 1)[-2, -1, 0, 1]int_range(5, 2)[5, 4, 3, 2]int_range(0, 0)[0]int_range.cmalloc<stdlib.h>declares malloc
Run the tests to grade your code
Memory will appear here