DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
c check if character is a digit
char ch = '1'; if(isdigit(ch)) printf("numeric"); else printf("alphabet" ); // output: numeric CCopy
Source by iq.opengenus.org #
PREVIOUS
NEXT
Tagged:
#check
#character
#digit
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit