Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c check if character is an alphabet

char ch = 'Z';
 if(isalpha(ch))
   printf("alphabet");     
 else
     printf("Numeric" );
 //output: alphabet
CCopy
Source by iq.opengenus.org #
 
PREVIOUS NEXT
Tagged: #check #character #alphabet
ADD COMMENT
Topic
Name
6+5 =