isalpha

Example: isalphaCharacter Classification and Conversion Functions

Checks if an integer value is a alphabetic letter.

int isalpha( int c); 

c The string to check.

The function isalpha checks to see if the value of c falls within the ranges A - Z or a - z.

Return Values

This function returns a non-zero value (true) if the character is a letter, zero (false) if it is not.