Integer type (typically 4 bytes, -2,147,483,648 to 2,147,483,647)
1st Parameter
The character to be tested, passed as an `unsigned char` cast to an `int`, or `EOF`
Read more about parameters of isalpha in parameters section
The isalphafunction in C language Checks whether the character is alphabetic.
The isalpha function tests whether c is a character for which isupper or islower is true. The behavior is undefined if the value of c is not representable as unsigned char and is not equal to EOF.
The isalphafunction takes 1
parameter:
•
int `c`: The character to be tested, passed as an `unsigned char` cast to an `int`, or `EOF`
Checks if the given character `c` is an alphabetic character (a letter). Returns a nonzero value if `c` is alphabetic, and `0` otherwise.
The isalpha function return value :
Returns non-zero if the character is alphabetic, 0 otherwise
Output
This example demonstrates basic usage of isalpha with various characters.