ADVERTISEMENT
ADVERTISEMENT

C ctype.h Library Functions Programs (Set 2)

The <ctype.h> header file of the C Standard Library has several built-in functions that are useful for testing and mapping characters.

This section contains solved programs on ctype.h header file's library functions. The ctype.h header file contains the functions related to characters. Some of the useful library functions are: isalnum(), isalpha(), isdigit(), isspace(), ispunct(), toupper(), tolower().

C ctype.h Library Functions Programs

  1. isalnum() function of ctype.h in C.
    In this article, we are going to learn about the use isalnum() function of ctype.h header file in C language and use it to check various conditions.
  2. isgraph() function of ctype.h in C.
    In this article, we are going to learn about the use isgraph() function of ctype.h header file in C language and use it to check NULL condition.
  3. ispunct() function of ctype.h in C.
    In this article, we are going to learn about the use ispunct() function of ctype.h header file in C language, and use it to check punctuation marks.
  4. isalpha() function of ctype.h in C.
    In this article, we are going to learn about the isalpha() function of ctype.h header file in C programming language and use it to identify the alphabetic characters.
  5. iscntrl() function of ctype.h in C.
    In this article, we are going to learn about the iscntrl() function of ctype.h header file in C programming language and use it to identify the control characters.
  6. isprint() function of ctype.h in C.
    In this article, we are going to learn about the isprint() function of ctype.h header file in C programming language and use it to identify the printing characters.
  7. isspace() function of ctype.h in C.
    In this article, we are going to learn about the isspace() function of ctype.h header file in C programming language, and use it to identify the space characters.
  8. tolower() function of ctype.h in C.
    In this article, we are going to learn about the tolower() function of ctype.h header file in C programming language and use it to convert the uppercase variables in lowercase.
  9. toupper() function of ctype.h in C.
    In this article, we are going to learn about the toupper() function of ctype.h header file in C programming language, and use it to convert the lowercase variables in uppercase.
  10. isxdigit() function of ctype.h in C.
    In this article, we are going to learn about the isxdigit() function of ctype.h header file in C programming language and use it with the help of an example.
ADVERTISEMENT

ADVERTISEMENT



Comments and Discussions


ADVERTISEMENT

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates

© https://www.includehelp.com some rights reserved.