Let's say I have an integer in the form of a hexadecimal like:
int x = 0x12BFDA09;
How could I convert this into a char array such that each hex digit would be one char. An example of the output from int x would be:
{'1', '2', 'B', 'F', 'D', 'A', '0', '9'}
Any help would be greatly appreciated!