Question d’entretien chez IMG Global InfoTech

let a=123 Reverse a number without converting it to a string and without using in built methods.