- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
iswlower() function in C/C++
The function iswlower() is a built-in function in C/C++. It checks whether the wide character is in lower case or not. It is declared in “cwctype” header file in C++ language while “ctype.h” in C language. It takes a single character which is known as wide character. It will return zero(0), if the character is not a lower case character. It will return non-zero value, if character is lower case.
Here is the syntax of iswlower() in C/C++ language,
int iswlower(ch);
Here is an example of iswlower() in C++ language,
Example
#include <cwctype> #include <iostream> using namespace std; int main() { wchar_t c = 'S'; if (iswlower(c)) wcout << c << ", The character is a lowercase character "; else wcout << c << ", The character is not a lowercase character "; wcout << endl; return 0; }
Output
S , The character is not a lowercase character
Advertisements
To Continue Learning Please Login
Login with Google