Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - What's the difference between long integer long int and integer in C language? In the tutorial, the number of bytes in C language is 4 bytes. Is it 4 bytes or 8 bytes?
What's the difference between long integer long int and integer in C language? In the tutorial, the number of bytes in C language is 4 bytes. Is it 4 bytes or 8 bytes?
It depends on which platform you use: 16-bit system: long is 4 bytes and int is 2 bytes.

32-bit system: long is 4 bytes and int is 4 bytes.

64-bit system: long is 8 bytes and int is 4 bytes.

I hope to adopt.