Javatpoint Logo
Javatpoint Logo

C Program to reverse number

We can reverse a number in c using loop and arithmetic operators. In this program, we are getting number as input from the user and reversing that number. Let's see a simple c example to reverse a given number.

Output:

Enter a number: 123
Reversed Number: 321
Next TopicC Programs


Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA