Temukan panjang nomor int di C

int nDigits = floor(log10(abs(the_integer))) + 1;
Weary Wolf