summaryrefslogtreecommitdiff
path: root/05/tcc-0.9.27/tests/tests2/27_sizeof.c
blob: 5ae0ede54e86832ce3ef776a57a2b9084b7be146 (plain)
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 :*/