File: wordsize.c

package info (click to toggle)
libunicode-japanese-perl 0.45-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,132 kB
  • ctags: 416
  • sloc: ansic: 5,886; perl: 4,883; makefile: 10
file content (12 lines) | stat: -rw-r--r-- 221 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12

#include <stdio.h>

int main()
{
  printf( "short = %d\n", sizeof(short) );
  printf( "int = %d\n",   sizeof(int)   );
  printf( "long = %d\n",  sizeof(long)  );
  printf( "void* = %d\n", sizeof(void*) );
  return 0;
}