All C++ keywords are reserved, as are all variable and function names that begin with two leading underscores.
No.
It is not a reserved word, so can be an identifier (name of a type/variable/function).
No. Keywords are reserved and cannot be used as identifiers. However, C/C++ is case-sensitive. So although register is a reserved keyword, Register is not.
C++ uses a syntax that is exactly the same as in C, with the addition of reserved words that are specific to C++. C ++ menggunakan sintaks yang persis sama seperti di C , dengan penambahan kata-kata reserved yang khusus untuk C++.
'Keyword' is a synonym for 'reserved word', it is not specific to C language.
You may use it as an identifier, because it is not a reserved word in C.
Yes. The word "hello" can be an identifier token. It is not a reserved word in C or C++, and it meets the criteria for being an identifier.
You cannot have a function named else, because it is a reserved word.
use of reserved word in assembly language
I can tell you that it is not an illegal variable name in C. I do not currently have a C++ compiler installed, but I would assume that it would also be valid in C++.
No extern keyword in Java.
No line can ever contain every reserved word. For one thing, preprocessor directives and labels must appear on separate lines. Excluding these, any code segment can be written as a single line, which could feasibly include all keywords. However if you classify a line as being a code segment ending with a semi-colon, there can be no single line with all keywords because continue and break are mutually exclusive.