iswblank(): This function is available in the file ctype.h. This function checks if the wide character is blank or not. A blank character is a space character. This function returns a value different from zero (i.e. true) if indeed c is a blank character. Zero (i.e. false) otherwise.
Parameters: One parameter is required for this function.
c: The wide character to be checked, cast into wint_t.
Syntax:
int iswblank(wint_t _C)
iswblank(c)
For Example:
iswblank(L' ') = > It returns true.
Approach
C++
#include <bits/stdc++.h>using namespace std;int main(){wint_t C = L' ';cout << iswblank(C) << "\n";return 0;}
No comments:
Post a Comment