C Program to Count Number of Digits
In this program we will take an integer from user and count the number of digits.
// C program to count number of digits
long long x;
int count = 0;
printf("Enter any number: ");
while(x != 0)
printf("Total digits: %d", count);
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.