Pergunta de entrevista da empresa Exterro

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