C number of digits in long July 8, 2019 16 32 64 128 How to count the number of digits in c Count number of digits in a number Write a program to count the total number of digits in a number using a while loop