Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c check if character is a space

char ch = ' ';
if(isspace(ch))
  printf("space");     
else
    printf("other symbol" );
//output: space
CCopy
Source by iq.opengenus.org #
 
PREVIOUS NEXT
Tagged: #check #character #space
ADD COMMENT
Topic
Name
6+4 =