C++ keyword: for
From cppreference.com
[edit] Usage
-
for
loop: as the declaration of the loop
|
(since C++11) |
[edit] See also
|
(since C++17) |
|
(since C++23) |
-
switch
statement:case
,default
(as the declaration of the default case label),switch
-
goto
statement:goto
-
continue
statement:continue
-
break
statement:break
-
return
statement:return
,co_return
(since C++20) -
do-while
loop andwhile
loop:do
,while