You are on page 1of 1

In C programming, isalnum( ) function checks whether a character is an alphanume

ric
chraracter(a-z or A-Z or 0-9) or not. If a character passed to isalnum( ) is alp
hanumeric
(either alphabet or number), it returns non-zero integer , if not it returns 0.
Defined in Header file: <ctype.h>
Function Prototype of isalnum( )
int isalnum(int argument);Function isalnum() takes single argument
in form of an integer and returns integer value.
Even though, isalnum( ) takes integer as an argument, character is
passed to isalnum( ) function. When character is passed as an
argument, corresponding ASCII value of that character is passed instead of that
character itself.

You might also like