C How to find the length of an integer
Posted
by marabunta2048
on Stack Overflow
See other posts from Stack Overflow
or by marabunta2048
Published on 2010-06-18T09:08:49Z
Indexed on
2010/06/18
9:13 UTC
Read the original article
Hit count: 162
Hello,
I would like to know how I can find the length of an integer in C.
For instance:
- 1 = 1
- 25 = 2
- 12512 = 5
etc. etc.
How do I do this and is this even possible in C ?
© Stack Overflow or respective owner