Currently At: Programming Reference > C Reference > Standard C String & Character > isalpha()

isalpha()


Syntax:
#include <ctype.h>
int isalpha( int ch );


Description:
The function isalpha() returns non-zero if its argument is a letter of the alphabet. Otherwise, zero is returned.

Example:
char c;
scanf( "%c", &c );
if( isalpha(c) )
  printf( "You entered a letter of the alphabet\n" );


Related Topics:
isalnum(), iscntrl(), isdigit(), isgraph(), isprint(), ispunct(), isspace()


Web Standards & Support:

Link to and support eLook.org Powered by LoadedWeb Web Hosting
Valid XHTML 1.0! Valid CSS! eLook.org FireFox Extensions