1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include <stdio.h> int main() { char a; int b; double c; printf("%d\n", sizeof(a)); printf("%d\n", sizeof(b)); printf("%d\n", sizeof(c)); printf("%d\n", sizeof(!a)); return 0; } /* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/