#Reverse a given number using C
1 posts
How to reverse a given number using C
#include <stdio.h>
int main() {
int num, rem, rev = 0;
printf("\nEnter any no to be reversed : ");
scanf("%d", &num);
while (num >= 1) {
rem = num % 10;
... Read Mores
Prathmesh Yelne
16-Dec-2021 15:57:52