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 iswalnum in parameters section
The iswalnumfunction in C language Checks whether the wide character is alphanumeric.
The iswalnum function tests whether wc is a wide character code representing an alphanumeric character (a letter or digit).
The iswalnumfunction 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 an alphanumeric wide character (a letter or a digit). Returns a nonzero value if `wc` is alphanumeric, and `0` otherwise.
The iswalnum function return value :
Returns non-zero if the wide character is alphanumeric, 0 otherwise
Output
This example demonstrates basic usage of iswalnum with various wide characters, including non-Latin scripts.