How many bytes is unsigned long long?

前端 未结 4 723
挽巷
挽巷 2020-11-27 17:10

How many bytes is unsigned long long? Is it the same as unsigned long long int ?

4条回答
  •  旧时难觅i
    2020-11-27 18:01

    It must be at least 64 bits. Other than that it's implementation defined.

    Strictly speaking, unsigned long long isn't standard in C++ until the C++0x standard. unsigned long long is a 'simple-type-specifier' for the type unsigned long long int (so they're synonyms).

    The long long set of types is also in C99 and was a common extension to C++ compilers even before being standardized.

提交回复
热议问题