#include <stdio.h>
#include<ctype.h>
int main(){
char num;
scanf("%c",&num);
printf("enter the character ;%c\n",num);
if(isdigit(num))
{
printf("it is a number\n");
}
else{
printf("it is an alphabet or special character");
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: