void main()
{
long rev = 0,num,rem,n;
printf("\n enter the number");
scanf("%ld",&n);
num = n;
while(num !=0)
{
rem=num%10;
num= num/10;
rev = rev*10+rem;
}
printf("\n the actual number=%ld",n);
printf ("\n the reverse number=%ld",rev);
return 0;
}
anybody can explain it to me how it's working (step by steps) its an loop from C language
Answers
Answered by
2
Answer:
sorry I don't know the answer
Answered by
1
Answer:
I don't know the answer and explanations
Similar questions
Math,
1 day ago
Economy,
1 day ago
Political Science,
1 day ago
Math,
2 days ago
Science,
2 days ago