C isprint function

« Previous

Synopsis:

Example

#include <stdio.h>

int isprint(int c); 

Description:

The function returns nonzero if c is space or a character for which isgraph returns nonzero.

Return Value

The function returns nonzero if c is space or a character for which isgraph returns nonzero.

Example

Example

#include <stdio.h>

int main() {

  if( isprint( ';' ) )
  {
     printf( "Character ; is here\n" );
  }
  if( isprint( 'A' ) )
  {
     printf( "Character A is here\n" );
  }
  return 0;
}

Output Will Be :

Output

Character ; is here
Character A is here


« Previous
Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!