Character Classification Functions


isdigit (Macro)


Syntax

#include <ctype.h>
int isdigit(int c);

Arguments

c      character code 

Return Value

An int value that is either nonzero (true) or zero (false) 

Description

Checks to see if the specified character is a digit (0-9).