islower - Find whether the given character is lowercase or not in C


#include<stdio.h>
#include<ctype.h>
 
int main()
{
    char a;
    scanf( "%c", &a );
    if( islower(a) )
        printf( "This is a Lower Case character: %c\n", a );
    else
        printf( "This is NOT a Lower Case character: %c\n", a );
    return 0;
}