Check if character is printable.
Checks if parameter c is a printable character (i.e., not a control character).