#include <stdio.h>

int main() {
    printf("%s\n", _Generic('\0', char: "char", int: "int", default: "other"));
    printf("%s\n", _Generic(0, char: "char", int: "int", default: "other"));
    
    char c1 = '\0';
    int i1 = 0;
    printf("%s\n", _Generic(c1, char: "char", int: "int", default: "other"));
    printf("%s\n", _Generic(i1, char: "char", int: "int", default: "other"));
    
    char c2 = 0;
    int i2 = '\0';
    printf("%s\n", _Generic(c2, char: "char", int: "int", default: "other"));
    printf("%s\n", _Generic(i2, char: "char", int: "int", default: "other"));
    
    return 0;
}

Embed on website

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