iscntrl
iscntrl is a function in the C standard library used to test whether a character is a control character. It is declared in the header <ctype.h> and has the prototype int iscntrl(int ch). The function returns a nonzero value if the argument is a control character according to the current C locale, and zero otherwise.
In the common C locale, control characters are those that do not represent printable characters, typically
The argument ch must be representable as an unsigned char or be the value EOF. Passing a
In languages such as C++, iscntrl is available in <cctype> within the std namespace. It is related