Let String s= “1A”
and I want to assign equivalent HEX value 1A or DEC value 26 to a integer.
What are some efficient way of doing it?
like to decimal to string conversion is done by
sprintf(c, “%d”, integer_value);
is there similar way of doing that?