#include <stdio.h>#include <stdlib.h>int main(){ int a[3]={0,0,0}; int n,i=0,j; printf("Please Input a number:"); scanf("%d",&n); while(n) { a[i++]=n%10; n/=10; } printf("This number has %d digit(s). ",i); printf("reverse number is:"); for(j=0;j<i;j++) printf("%d",a[j]); return 0;}