I am writing a program that based around the command line input of a phone number (numbers only).
I understand that the number will be stored in char *argv.
I want check each digit in the phone number. How would I go about doing this?
a simple piece of code that will print each digit to stdout would suffice
thank you for your time