An integer type capable of storing any wide character value or the special value WEOF, used in wide-character input/output functions.
1st Parameter
The wide character to be tested, passed as a `wint_t`
Read more about parameters of iswgraph in parameters section
The iswgraphfunction in C language Checks whether the wide character has a graphical representation.
The iswgraph function tests whether wc is a wide character code representing a character with a visible representation. In many locales, this includes all printing characters except space.
The iswgraphfunction takes 1
parameter:
•
wint_t `wc`: The wide character to be tested, passed as a `wint_t`
Checks if the given wide character `wc` has a graphical representation, meaning it is a printable wide character excluding the space character. Returns a nonzero value if `wc` is a graphical character, and `0` otherwise.
The iswgraph function return value :
Returns non-zero if the wide character has a graphical representation, 0 otherwise
Output
This example demonstrates basic usage of iswgraph with various wide characters.