The iswupper() is a built-in function in C/C++ which checks if the given wide character is a uppercase character or not. It is defined in CPP header file <cwctype.h> and This function is the wide-character equivalent of isupper (
int iswupper(wint_t rs)
Parameters: The function accepts a single mandatory parameter rs which specifies the wide character which is to be checked.
Return Value: The function returns two values as shown below:
- non zero value – if rs has a uppercase character
- zero – if rs has a no uppercase character
Below programs illustrate the above function.
S is a uppercase character s is not a uppercase character
R is a uppercase character @ is not a uppercase character
- Function Overloading vs Function Overriding in C++
- What happens when a virtual function is called inside a non-virtual function in C++
- arc function in C
- fma() function in C++
- div() function in C++
- exp() function C++
- log() function in C++
- iswdigit() function in C/C++
- lldiv() function in C++ STL
- logb() function in C++ STL
- ilogb() function in C++ STL
- unordered_multiset end() function in C++ STL
- ratio_less() function in C++
- ratio_greater_equal() function in C++
- ratio_greater() function in C++
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.