الصفحة الرئيسية c program reverse of given number byAjay Kadtan •سبتمبر 30, 2020 0 program:#include<stdio.h>main(){ int dummy,n,rev=0,x; printf("Enter a number\n"); scanf("%d",&n); dummy=n; while(n>0) { x=n%10; rev=rev*10+x; n=n/10; } printf("The reverse of %d is %d\n",dummy,rev);}output: Facebook Twitter