Tests if a character is a digit.
int isdigit (int c);
Required Header |
<ctype.h> |
Return Value
This function returns a non-zero value if the character is a digit.
Parameters
c
The character to be tested
See Also isalnum, isalpha, isblank, iscntrl, isgraph, islower, isprint, ispunct, isspace, isupper, isxdigit