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 iswprint in parameters section
The iswprintfunction in C language Checks whether the wide character is printable, including space.
The iswprint function tests whether wc is a wide character code representing a printable character. In many locales, this includes the space character and all characters for which iswgraph returns true.
The iswprintfunction takes 1
parameter:
•
wint_t `wc`: The wide character to be tested, passed as a `wint_t`
Checks if the given wide character `wc` is a printable wide character, including space. Returns a nonzero value if `wc` is printable, and `0` otherwise.
The iswprint function return value :
Returns non-zero if the wide character is printable (including space), 0 otherwise
Output
This example demonstrates basic usage of iswprint with various wide characters.