|
|
#include <ctype.h>int isdigit(int ch);
The isdigit( ) function returns nonzero if ch is a digit—that is, 0 through 9. Otherwise, zero is returned.
Related functions are isalnum( ), isalpha( ), iscntrl( ), isgraph( ), isprint( ), ispunct( ), and isspace( ).
|
|