Search
 
SCRIPT & CODE EXAMPLE
 

C

c check if character is an alphabet

char ch = 'Z';
 if(isalpha(ch))
   printf("alphabet");     
 else
     printf("Numeric" );
 //output: alphabet
CCopy
Comment

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
Comment

PREVIOUS NEXT
Code Example
C :: malloc basics 
C :: fibonacci series in c 
C :: print command for rust unit-test 
C :: c convert string to size_t 
C :: do...while loop c 
C :: check whether a number is prime or not in c 
C :: convert string to int error checking c 
C :: declare string in c 
C :: replace a substring with another substring in c 
C :: c double 
C :: faire une facture en langage c 
C :: signed and unsigned in c 
C :: do while loop in c 
C :: looping through an array in c 
C :: C program to find power of any number 
C :: Relational Operator in C language 
C :: c conventions 
C :: string in c 
C :: Install valet-linux 
C :: c get pid 
C :: swap using third variable 
C :: spacemacs start server 
C :: <fileset joomla 
C :: gdebi install with yes option 
C :: call cuda kernel from c parameters 
C :: kleiner gleich zeichen MAC 
C :: turn on and turn off different device at the same time in rainmaker 
C :: type conversion 
C :: Sum of upper & lower triangles elements 
C :: passage on dowry 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =