Demonstration of isgraph():
W is a printing character
Space is not a printing character

Explanation

In this example, we have used if...else statements instead of a conditional operator.
Here, if...else statement does the selection between two strings.

Related Articles:

C Library Function isprint( ) In this tutorial, you will learn about C library function isprint() which is a character handling function used to check whether its argument can be displayed...

C Library Function ispunct( ) In this tutorial, you will learn about C library function ispunct() which is a character handling function used to check whether the argument supplied is a printing character other...

C library function iscntrl( ) In this tutorial, you will learn about c library function iscntrl() which is a character handling function used to check whether the character supplied...

C Library Function isspace( ) In this tutorial, you will learn about C library function isspace() which is a character handling function used to check whether the argument supplied is a whitespace character or...