Answers for "check if a value is a letters of the alphabet in c"

C
0

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
Posted by: Guest on April-06-2022
0

c check if character is an alphabet

char ch = 'Z';
 if(isalpha(ch))
   printf("alphabet");     
 else
     printf("Numeric" );
 //output: alphabet
CCopy
Posted by: Guest on April-06-2022

Code answers related to "check if a value is a letters of the alphabet in c"

Code answers related to "C"

Browse Popular Code Answers by Language