int r = isprintable(int c);
c
is printable and returns True
if it is, otherwise
False
. Printable characters are all characters that have a graphical representation, including the
space character. Printable characters are the opposite to control characters. isprint()
basically
does the same as isgraph(), the only difference being that isprint()
returns True
for the space character as well whereas isgraph() doesn't.