SyntaxFix
Write A Post
Hire A Developer
Questions
Tags
Say I have a multi-digit integer in C. I want to break it up into single-digit integers.
123 would turn into 1, 2, and 3.
123
1
2
3
How can I do this, especially if I don't know how many digits the integer has?
This question is related to c math numbers digits digit
c
math
numbers
digits
digit
Source: Stackoverflow.com