Reversing the elements of an array

I need to reverse the elements of an array. That is if an array has 4395, I need 5934. I found a few ways to do this using conio.h. However, this file does not seem to be in FreeBSD. Does anybody have any ideas on another way to do this?
 
Back
Top