C++ keyword: int
From cppreference.com
Usage
-
short inttype: as the declaration of the type when combined withshort -
unsigned short inttype: as the declaration of the type when combined withunsignedandshort -
inttype: as the declaration of the type -
unsigned inttype: as the declaration of the type when combined withunsigned -
long inttype: as the declaration of the type when combined withlong -
unsigned long inttype: as the declaration of the type when combined withunsignedandlong
|
(since C++11) |
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.
- Boolean type:
- Floating-point types:
float,double.
- Integral types: