title: C: how to break apart a multi digit number into separate variables?
body: <p>Say I have a multi-digit integer in C. I want to break it up into single-digit integers.</p>
  
  <p><code>123</code> would turn into <code>1</code>, <code>2</code>, and <code>3</code>.</p>
  
  <p>How can I do this, especially if I don't know how many digits the integer has?</p>