c program to check whether a character is an alphabet, digit or special character

Check whether a character is an alphabet, digit or special character

Here, you will get and learn the example code to check whether a character is an alphabet, digit or special character in C programming.

 

Program Code to check character is an alphabet, digit or special character

 

Output 1

Input a character: 5
5 is a Digit

Output 2

Input a character: K
K is an Alphabet

Output 3

Input a character: @
@ is a Special Character

 

 

Check out our other C programming Examples

 

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top