Is the function isdigit able to find digits that are in a string?
For example if I had a character string named string that contained the characters 34678904.
would
return a 0 since the character is a digit or would it return a nonzero b/c it recognizes it as something else?Code:isdigit(string)
If it returns a nonzero, what is a good way to check if a string is made up of characters or digits?