Pregunta de entrevista de Exterro

how will you reverse a number without using a temporary variable?