C LANGUAGE - TO FIND TYPE OF ANY CHARACTER

// Find a Any type of character #include<stdio.h> #include<conio.h> #include<ctype.h> void main() { char c; clrscr(); printf("Enter any character:>>\n"); scanf("%c",&c); if(isupper(c)) printf("It is UPPERCASE char.....!"); else if(islower(c)) printf("It is Lowercase char.....!"); else if(isdigit(c)) printf("It is DigiCase char.....!"); else printf("It is Special char.....!"); getch(); }
Note: Click on copy button to copy the given code and you can paste it in any online compiler to see the result, IF YOU ARE A MOBILE USER THEN DOWNLOAD "CODING C"(Free App) COMPILER FROM GOOGLE PLAY STORE.