0
100^100
How to do it in c?? I want to check" how many digit in it?"
6 odpowiedzi
+ 2
Thomas Williams, when the conversion takes place, the number will already be off due to overflow.
+ 1
Other wise you get the length of 100 and add 100 to thag
+ 1
The first one? That's because there are too many digits, right?
+ 1
In python my second method will be
len(str(num1)) + num2
0
Convert it to a string and check the amount of characters in it.
0
I know how to do it.. The way i mean.. But i dont know what int type i should use or what would be the string length? Or
Even "%llu" shows 0..