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 iswxdigit in parameters section
The iswxdigitfunction in C language Checks whether the wide character is a hexadecimal digit.
The iswxdigit function tests whether wc is a wide character code representing a hexadecimal digit. This typically includes the characters 0-9, a-f, and A-F.
The iswxdigitfunction 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 hexadecimal digit (0-9, A-F, a-f) in the current locale. Returns a nonzero value if `wc` is a hexadecimal digit, and `0` otherwise.
The iswxdigit function return value :
Returns non-zero if the wide character is a hexadecimal digit, 0 otherwise
Output
This example demonstrates basic usage of iswxdigit with various wide characters.