Greetings,
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.e. argv[1])
I want check each digit in the phone number. How would I go about doing this?
for example:
a simple piece of code that will print each digit to stdout would suffice
thank you for your time