---------------------------------------------------------------------------------------------------------------
#include<stdio.h>
#include<conio.h>
void main()
{
int count=0,rem,num,n;
printf("\nEnter Numbers: ");
scanf("%d",&num);
n=num;
while(num)
{
rem=num%10;
count=count+1;
num=num/10;
}
printf("\nIn %d Having %d Digits...",n,count);
getch();
}
#include<stdio.h>
#include<conio.h>
void main()
{
int count=0,rem,num,n;
printf("\nEnter Numbers: ");
scanf("%d",&num);
n=num;
while(num)
{
rem=num%10;
count=count+1;
num=num/10;
}
printf("\nIn %d Having %d Digits...",n,count);
getch();
}