Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <limits.h>
- #include <stdint.h>
- int main (int argc, char** argv)
- {
- printf ("%ld %ld\n", sizeof(long), sizeof(int));
- printf ("%ld %d\n", LONG_MAX, INT_MAX);
- printf ("%d\n", __WORDSIZE);
- return 1;
- }
- ------------------
- [wiking@sandbox ~]$ clang test.c -o test
- [wiking@sandbox ~]$ ./test
- 8 4
- 9223372036854775807 2147483647
- 64
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement