Reversing numbers in c without arrays
As the title says I need to know how to reverse numbers in c without using the arrays. Why? That is part of my assignment. My professor told me that there is a simpler way to do it but I don't know what she is talking about, and I've found nothing in my book about reversing until the array section. By reverse I mean take 123 and make a new number, 321. I need this last part for an assignment that I actually posted earlier. The assignment calls for me to input a number and solve by its reverse. Remember no arrays, thanks!