isleadbyte() in C++

isleadbyte(): This function is available in the file ctype.h. This function determines whether a character is the lead byte of a multibyte character. This function returns a nonzero value if the argument satisfies the test condition or 0 if it does not.

Parameters: One parameter is required for this function.

arg: Integer to test.

Syntax:

isleadbyte(arg)

For Example:

isleadbyte(10) = > It return false (0).

Approach

C++

#include <bits/stdc++.h>
using namespace std;

int main()
{
    int C = 10;

    cout << isleadbyte(C<< "\n";

    return 0;
}


No comments:

Post a Comment