Hello friends, please help me..

Iam having an char array Arr[16] having binary values Arr[0]=0, Arr[1]=0, Arr[2]=1.....Arr[15]=1.
how to convert this array into the hexadecimal in C language only

Please help me...