C islower function

« Previous Chapter

Synopsis:

#include <stdio.h>
int islower(int c); 

Description:

The function returns nonzero if c is any of:

a b c d e f g h i j k l m n o p q r s t u v w x y z

Return Value

The function returns nonzero if c is lower case otherwise this will return zero which will be equivalent to false.

Example

#include <stdio.h>
int main() {
  if( islower( 'a' ) )
  {
     printf( "Character a is lower case\n" );
  }
  if( islower( 'A' ) )
  {
     printf( "Character A is lower case\n" );
  }
  return 0;
}

Output Will Be :

Character a is lower case


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

Your Query was successfully sent!