Tests for a decimal-digit character (0-9).
#include <ctype.h> int isdigit ( int c);
(IN) Specifies the character to be tested.
Returns a nonzero value when the argument is a digit. Otherwise, it returns zero.