a c language program that compute the reverse of any number using for loop

Output:
Enter a Number:523
Reverse Number is:325


Explanation
This program includes taking any number from the user as input and then use the for loop to reverse the digits of the number and show the reverse number as output using printf() function.
Whenever we calculate reverse of a number we are really changing the order of its digits.example for our understanding.
What is the reverse of 523
The reverse of 523 is 325.


Previous :-->> 2.Write a program in to compute the factorial of any given number using a do while loop.
 -->> NEXT: 4.Write a program in c language to check if a given number is a prime number or not using a while loop.
-->>ALL Loops Assignments in c