long long int
时间: 2023-11-21 16:06:41 浏览: 85
Long long int is a data type in programming languages that can hold larger integer values than the regular int data type. It is typically used to store 64-bit integers, which can range from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807. The "long long" part of the name refers to the fact that it is a longer integer type than the regular int. In C and C++, the keyword for long long int is "long long", and in Java and other languages, it is "long".
相关问题
Long long int
Long long int is a data type used in programming languages such as C++ and Java. It is a larger version of the standard int data type, capable of storing larger values. Specifically, a long long int is an integer data type that can store values between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 (inclusive) in 64 bits of memory. This makes it useful for calculations that involve very large numbers, such as in cryptography or scientific computations.
int long long int
"int long long int" 是一个错误的数据类型声明,正确的声明应该是 "long long int"。它是 C++ 中的一种整型数据类型,用于表示比 int 类型更大范围的整数,其范围为 -9,223,372,036,854,775,808 到 9,223,372,036,854,775,807。
阅读全文