This is my simple little function
How do I return the array? It says invalid conversion from *int to int. I feel really dumb for not knowing this.Code:int reverse_list(void) //creates a list of ints from 0 to N { int N = 20; int temp_array[N]; for(int i = 0; i < N; i++) { temp_array[N - i] = i; } return temp_array; }