Computer Science, asked by ks841932, 2 days ago

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 XxDevilsbackxX
2

Answer:

sorry I don't know the answer

Answered by sumanbhanja2000
1

Answer:

I don't know the answer and explanations

Similar questions