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

isalnum()


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


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

Example:
char c;
scanf( "%c", &c );
if( isalnum(c) )
  printf( "You entered the alphanumeric character %c\n", c );


Related Topics:
isalpha(), 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