Not very hard, all you need is a loop and a cast to make sure your numbers are unsigned
for (int i = 0; i < 16; ++i)
printf("%02X", (unsigned char)data[i]);
4
solved Extracting hex numbers from char array [closed]
Not very hard, all you need is a loop and a cast to make sure your numbers are unsigned
for (int i = 0; i < 16; ++i)
printf("%02X", (unsigned char)data[i]);
4
solved Extracting hex numbers from char array [closed]