Keywords In C++

Card image cap

Keyword is a predefined or reserved word in C++ library with a fixed meaning and used to perform an internal operation. C++ Language supports more than 64 keywords.

Every Keyword exists in lower case latter like auto, break, case, const, continue, int etc.

Card image cap

C++ Important Keywords List

Keywords Keywords Keywords Keywords Keywords
asm continue float new signed
try using auto default for
operator sizeof typedef namespace break
delete friend private static union
bal case do goto protected
struct unsigned static_cast catch double
if public switch virtual const_cast
char else inline register template
void dynamic_cast class enum int
return this volatile true const
extern long short throw while

Card image cap

Example ofauto keyword:

Output :

x: 11
listA:  1 2 3 4 5
listB:  100 200 300 400 500
listA:  1 2 3 100 200 300 400 500 4 5
listA:  1 2 3 100 200 300 400 500
listB:  4 5
Card image cap