Size of int and sizeof int pointer on a 64 bit machine I was just wondering how can I know if my laptop is 64 or 32 bit machine. (it is a 64). So, I thought about printing the following: int main() { printf("%d",sizeof(int)); } and the result was 4, which seemed weird (since it is a 64 bit machine) But, when I printed this: int main() { printf("%d",sizeof(int*)); } the result was 8, which made m..