printf("ENTER THE NO: TO REVERSE\n");//suppose no. is 4576//enter the no. to reverse
scanf("%d",&num);
//AS NO.DIVIDED BY 10 EVERY TIME ..//A NEW REMAINDER WILL FOUND TO U...THAT NEW REMAINDER IS ADDED TO PREVIOUS r BY MULTIPLYING IT TO 10//EVERYTIME ......FINALLY WHEN NUMBER WHOSE REVERSE IS TO FIND WILL BECOME 0...MEANS ALL DIGITS OF THIS NUMBER ARE REVERSED. ALREADY..//
while(num != 0)//remains into loop untill num becomes 0