I have hexadecimal values stored as characters:
char A = \'0\'; char B = \'6\'; char C = \'E\';
... I need them coverted to integers. I kno
You could try strtol. But strtol needs a 0 terminated char *, so:
strtol
char *
long x = strtol((char[]){A, 0}, NULL, 16);