I'm now learning arrays and I'm stuck trying to print an array in reverse order. Here's the working part of my code. I've deleted the lead up (printf and scanf statements).

Code:
#include<stdio.h>
#include<conio.h>



int divide (int, int);		/*function prototype*/

int remainder (int, int);  /*function prototype*/

int reverse (int []);  /*function prototype*/

int main ()
{
    int value, base, list[20], count = 0;

   printf("\n** This program facilitates the conversion of a               decimal   number");
   printf("\n   to bases 2 through 9 **\n");
	

 while(count<20 && value!=0)

   {

      list[count] = remainder (value, base);

     value = divide (value,base);

     printf("%d",list[count]);

     ++count;

   }

    printf(" to base %d is the result.\n",base);

    getch();

    return 0;

}


/*This function returns the whole number*/

int divide (int a, int b )
{
int result;

result = a/b;

return result;
}

/*This function returns the remainder*/

int remainder (int x, int y)
{
int remain;

remain = x%y;

return remain;
}


/* This function reverses the order of the remainders in the array */


int reverse (int temp[])
{




return 0;

}