#include<stdio.h>
int main(){
    char ch='5';
  if((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z')){
      printf("It is a alphabet");
  }
  else if (ch>='0' && ch<='9'){
      printf("It is a digit ");
  }
  else {
      printf("It is a special character");
  }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: