x

C – ctype.h library functions

Prev     Next

C ctype.h library functions:


All C inbuilt functions which are declared in ctype.h header file are given below. The source code for ctype.h header file is also given below for your reference.


List of inbuilt C functions in ctype.h file:

  • “ctype.h” header file support all the below functions in C language. Click on each function name below for detail description and example programs.
Functions Description
isalpha() checks whether character is alphabetic
isdigit() checks whether character is digit
isalnum() Checks whether character is alphanumeric
isspace() Checks whether character is space
islower() Checks whether character is lower case
isupper() Checks whether character is upper case
isxdigit() Checks whether character is hexadecimal
iscntrl() Checks whether character is a control character
isprint() Checks whether character is a printable character
ispunct() Checks whether character is a punctuation
isgraph() Checks whether character is a graphical character
tolower() Checks whether character is alphabetic & converts to lower case
toupper() Checks whether character is alphabetic & converts to upper case

Source code for ctype.h header file:

Please find the source code for ctype.h header file below. This code is taken from DevC++ compiler files for your reference.

Prev     Next



Like it? Please Spread the word!