#include <stdio.h>
#include <ctype.h>

int main() {
    char ch;
    printf("enter the character: ");
    scanf("%c",&ch);
    if (isalnum(ch)){
        printf("\nthe entered character is alphanumeric");
    }
    else{
        printf("\nthe entered character is not alphanumeric");
    }
    return 0;
}

Embed on website

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