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 iswdigit in parameters section
The iswdigitfunction in C language Checks whether the wide character is a digit.
The iswdigit function tests whether wc is a wide character code representing a decimal digit character. In many locales, only the characters '0' through '9' are considered digits.
The iswdigitfunction 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 decimal digit (0–9). Returns a nonzero value if `wc` is a digit, and `0` otherwise.
The iswdigit function return value :
Returns non-zero if the wide character is a digit, 0 otherwise
Output
This example demonstrates basic usage of iswdigit with various wide characters, including non-ASCII digits.