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 statements is not true?
Which of the following is a valid string literal?
Which of the following is called compile-time operators?
The following constant is of which type?
032
Write the following real constant into the exponent form:
7.214
Describe the differences between keywords and identifiers?
Write about Binary operators used in C++.
Write a short note on the const keyword with an example.
Consider the following C++ statement. Are they equivalent?
char ch = 67;
char ch = ‘C’;
Determine which of the following are valid constant? And specify their type.
27,822
