Integer type (typically 4 bytes, -2,147,483,648 to 2,147,483,647)
1st Parameter
The character to be tested, passed as an `unsigned char` cast to an `int`, or `EOF`
Read more about parameters of isgraph in parameters section
The isgraphfunction in C language Checks whether the character has a graphical representation.
The isgraph function tests whether c is a character with a graphical representation. In the default C locale, it includes all printing characters except space.
The isgraphfunction takes 1
parameter:
•
int `c`: The character to be tested, passed as an `unsigned char` cast to an `int`, or `EOF`
Checks if the given character `c` has a graphical representation, meaning it is a printable character excluding the space character (`' '`). Returns a nonzero value if `c` is a graphical character, and `0` otherwise.
The isgraph function return value :
Returns non-zero if the character has a graphical representation, 0 otherwise
Output
This example demonstrates basic usage of isgraph with various characters.