C++ keyword: int
From cppreference.com
Usage
-
short int
type: as the declaration of the type when combined withshort
-
unsigned short int
type: as the declaration of the type when combined withunsigned
andshort
-
int
type: as the declaration of the type -
unsigned int
type: as the declaration of the type when combined withunsigned
-
long int
type: as the declaration of the type when combined withlong
-
unsigned long int
type: as the declaration of the type when combined withunsigned
andlong
|
(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: