The iswupper() function is defined in the header file <cwctype.h>.
Prototype:
int iswupper(wchar_t rs);
Parameter:
wchar_t rs – Checks the given character is in upper case or not.
Return type:
The function returns two values:
- Zero: if rs is non - uppercase character.
- Non Zero: if rs is uppercase character.
Use of function
The iswupper() is built-in function in C++, which is used to check the given character, rs is in uppercase or not .
Program 1:
Output
Program 2:
Output
need an explanation for this answer? contact us directly to get an explanation for this answer