C++ keyword: int - cppreference.com (original) (raw)
[edit] Usage
- short int type: as the declaration of the type when combined with short
- unsigned short int type: as the declaration of the type when combined with unsigned and short
- int type: as the declaration of the type
- unsigned int type: as the declaration of the type when combined with unsigned
- long int type: as the declaration of the type when combined with long
- unsigned long int type: as the declaration of the type when combined with unsigned and long
long long int type: as the declaration of the type when combined with two longs unsigned long long int type: as the declaration of the type when combined with unsigned and two longs | (since C++11) |
---|
[edit] See also
- Fundamental types: void, std::nullptr_t(since C++11).
- Integral types:
int
. Modifiers: signed, unsigned, short, long.
* Boolean type: bool. Boolean literals: false, true.
* Character types: char, char8_t(since C++20), char16_t, char32_t(since C++11), wchar_t. - Floating-point types: float, double.
- Integral types: