Domanda di colloquio di Xilinx

Write a c++ function that does recursion to reverse a number