1.
"alignas" - used to specify the
alignment of a variable or type
2.
"alignof" - used to determine the
alignment of a type
3.
"and" - used to perform a logical AND
operation
4.
"and_eq" - used to perform a logical
AND and assignment operation
5.
"asm" - used to include assembly
language code in a C++ program
6.
"auto" - used to specify that a
variable's type should be deduced from its initializer
7.
"bitand" - used to perform a bitwise
AND operation
8.
"bitor" - used to perform a bitwise OR
operation
9.
"bool" - used to declare a Boolean
variable
10.
"break" - used to exit a loop or
switch statement
11.
"case" - used to specify a case in a
switch statement
12.
"catch" - used to handle exceptions
thrown by a try block
13.
"char" - used to declare a character
variable
14.
"char16_t" - used to declare a
character variable that can hold a Unicode character encoded as a 16-bit
integer
15.
"char32_t" - used to declare a
character variable that can hold a Unicode character encoded as a 32-bit
integer
16.
"class" - used to declare a class
17.
"compl" - used to perform a bitwise
NOT operation
18.
"concept" - used to define a concept
(C++20)
19.
"const" - used to specify that a
variable or function is constant
20.
"constexpr" - used to specify that a
variable or function is a constant expression
21.
"const_cast" - used to cast away the
constness of a variable
22.
"continue" - used to skip the rest of
the current loop iteration and continue to the next one
23.
"decltype" - used to determine the
type of an expression
24.
"default" - used to specify a default
case in a switch statement or to specify a default function argument
25.
"delete" - used to delete an object or
array
26.
"do" - used to create a loop that
executes at least once, and then continues to execute as long as a specified
condition is true
27.
"double" - used to declare a double
precision floating point variable
28.
"dynamic_cast" - used to perform a
runtime type check and cast to a derived class
29.
"else" - used in conjunction with the
"if" keyword to specify an alternative action
30.
"enum" - used to define an enumeration
31.
"explicit" - used to specify that a
constructor or conversion function is explicit
32.
"export" - used to specify that a
class or function should be visible to other modules (C++20)
33.
"extern" - used to specify that a
variable or function is defined in another translation unit
34.
"false" - a Boolean literal with a
value of false
35.
"float" - used to declare a single
precision floating point variable
36.
"for" - used to create a loop that
iterates a specified number of times
37.
"friend" - used to specify that a
function or class has access to the private and protected members of another
class
38.
"goto" - used to transfer control to a
labeled statement
39.
"if" - used to perform conditional
statements
40.
"import" - used
0 Comments