Copyright © 2014 by tutorialspoint
#include <stdio.h> int islower(int c);
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
The function returns nonzero if c is lower case otherwise this will return zero which will be equivalent to false.
#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; }
It will proiduce following result:
Character a is lower case
Advertisements