>unless of course you run the code on a system that doesn't have the characters 0 - 9 in a sequentically
You mean an implementation that fails to conform to the C standard?
>I'm at work right now, so I just slapped it together and didn't compile it.
Well, technically undefined behavior can compile and run as you expect. That doesn't mean it's right though.