The isalpha function in C is part of the C Standard Library and is defined in <ctype.h>. It checks whether a given character is an alphabetic letter (either uppercase or lowercase). The function returns a nonzero value (true) if the character is a letter (A-Z or a-z) and 0 (false) otherwise.
Syntax:
c Copy Edit #include <ctype.h> int isalpha(int ch);