For int64_t type
#include <inttypes.h>
int64_t t;
printf("%" PRId64 "\n", t);
For uint64_t type
#include <inttypes.h>
uint64_t t;
printf("%" PRIu64 "\n", t);
Use PRIx64 to print in hexadecimal
Refer: http://en.cppreference.com/w/cpp/types/integer
Sizeof
char c; printf("%zu,%zu\n", sizeof c, sizeof (int));