Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c check if character is a digit or alphabet

char ch = '/';
 if(isalnum(ch))
   printf("numeric or ap=lphabet");     
 else
     printf("other symbol" );
 //output: other symbol 
CCopy
Source by iq.opengenus.org #
 
PREVIOUS NEXT
Tagged: #check #character #digit #alphabet
ADD COMMENT
Topic
Name
1+4 =