charの符号の有無の判定

#include <stdio.h>

int main()
{
    char ch = -1;
    if(ch == -1) {
        puts("char is signed.");
    } else {
        puts("char is unsigned.");
    }
    return 0;
}