Is there a way Convert a number from Base B1 to Base B2 without using any intermediate base.
Ex:
214 from base 5 to base 16 without converting it first to decima
Yes and no. Yes if you don't include the fact that the computer does everything in binary (base 2) as another representation. After all, what is the base of value in the following code?
long value = strtol(string, NULL, base);
In some senses value is just an integer, and has no associated base. Combine that with a function to convert from a value to a string representaton in a particular base and you can easily from a string representation in one base to a string representation in another base. Since there's no intermediate string representation there is, is some sense, no intermediate base value.