vak: (Default)
Serge Vakulenko ([personal profile] vak) wrote 2024-02-06 04:57 am (UTC)

Напечатал sizeof элементарных типов. И что ты думаешь? Таки long double оказался двойного размера.
Size of char: 1 byte
Size of short: 8 bytes
Size of int: 8 bytes
Size of long: 8 bytes
Size of long long: 8 bytes
Size of float: 8 bytes
Size of double: 8 bytes
Size of long double: 16 bytes
Size of pointer: 8 bytes
Size of size_t: 8 bytes

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org