How many bytes is your array, if it is short, you can convert the array into a single 32 or 64 bit number.

If it is 32 bits maximum, then you can use itoa() function to convert to any base (hex, binary, decimal, octal, etc)

If it is 64 bits maximum, then you can use i64toa() function.

Have a look to:

http://msdn.microsoft.com/

If array is greater than 8 bytes, then you will need some specific algorithm.