cctype: c character type
Declare a character variable
char a='A';
- isalpha() : Return true if the character is an alphabet, otherwise false.
- isdigit(): Return true if the character is digit, otherwise false.
- islower(): Return true if the character is in lower case, otherwise false.
- isupper(): Return true if the character is in upper case, otherwise false.
- isspace(): Return true if the character is a space, otherwise false.
- tolower(): Convert a character into the lowercase letter.
- toupper(): Convert a character into the uppercase letter.