Reverse an array problem

Is there any way to return the array to main in this code and then print it ?

hi @anikapassi17_6ce74879d4a8438b refer this article https://www.geeksforgeeks.org/return-local-array-c-function/