#include <stdio.h>

main(){
int a;
a = 3;
a = !a;
printf("%d\n",a);
a = !a;
printf("%d",a);
return 0;
}
これで出力すると0と1が出ました
3の否定は0で0の否定は1ということなのでしょうか?