Converting ASCII to hex

OP... you do realise the contents of these are exactly the same.... don't you?

char myArray[17] = {'1', '1', '2', '2', '3', '3', '4', '4', '5', '5', '6', '6', '7', '7', '8', '8', '\0'}; 

-  and  -

char myArray[17] = {
           0x31, 0x31, 0x32, 0x32, 0x33, 0x33, 0x34, 0x34, 0x35, 0x35, 
           0x36, 0x36, 0x37, 0x37, 0x38, 0x38, 0x00  };