Skip to content

How to check a character value in C

Learn how to check a character value in C

When working in C, we can use the ctype.h standard library set of functions to check the value of a char type variable.

We have access to several useful checks:

I mentioned that isspace() checks if a character is a whitespace character. What is a whitespace character?

→ Get my C Handbook

Here is how can I help you: