My teacher told us it was possible to convert octal(105A) to hexadecimal: it would be equal to hex(10510).
But I though it was impossible to have a number greater than the base, and A > 8 (I think, so correct me if I'm wrong).
I know that hex(A) = decimal(10) = octal(12) but I'm really confused.
TL;DR: Is this possible to have octal(105A) = hex(10510) ?
No, it's not possible to have such input. Octal digits are 0 through 7, A is not allowed.