title: how to get different digits starting from the most significant digit in a number in c?
body: <p>I am solving a problem in which a positive integer is given and i have to display it in words.</p>
  
  <p>For example if a number is <code>2134</code> the output should be <code>"two one three four"</code> .
  If i use the modulus operator and use the recursion technique, i get the digits starting from the least significant digit i.e <code>"four three one two"</code></p>
  
  <p>I can also reverse the number and then use modulus operator but i am looking for a better method.</p>
  
  <p>What can be a better approach of solving this problem?.What concept am i missing?</p>