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, you can't assume that since the size of the “long” data type varies from compiler to compiler. Check out this article for more details.