c Periksa apakah karakter adalah digit atau alfabet

char ch = '/';
 if(isalnum(ch))
   printf("numeric or ap=lphabet");     
 else
     printf("other symbol" );
 //output: other symbol 
CCopy
Dark Dugong