char ch = 'Z';
if(isalpha(ch))
printf("alphabet");
else
printf("Numeric" );
//output: alphabet
CCopy
char ch = '/';
if(isalnum(ch))
printf("numeric or ap=lphabet");
else
printf("other symbol" );
//output: other symbol
CCopy