Is it always true that long int (which as far as I understand is a synonym for long) is 4 bytes?
long int
long
4
Can I rely on that? If no
No, neither the C standard nor POSIX guarantee this and in fact most Unix-like 64-bit platforms have a 64 bit (8 byte) long.