Advertisements
Advertisements
Question
Can keywords be used as identifiers?
One Line Answer
Advertisements
Solution
Most of the keywords are common to C, C++, and Java. Keywords are reserved and cannot be used as identifiers.
shaalaa.com
Lexical Units (Tokens)
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Which of the following is a valid string literal?
What are keywords?
The following constant is of which type?
39
The following constant is of which type?
0XCAFE
The following constant is of which type?
04.14
Assume n = 10; what will be result of n++ and --n;?
Write a short note on the const keyword with an example.
What is the difference between 56L and 56?
Determine which of the following are valid constant? And specify their type.
0.5
Determine which of the following are valid constant? And specify their type.
‘Name’
