Can keywords be used as identifiers?
Advertisements
प्रश्न
Can keywords be used as identifiers?
एक पंक्ति में उत्तर
Advertisements
उत्तर
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)
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
APPEARS IN
संबंधित प्रश्न
Write the following real constant into the exponent form:
7.214
Assume n = 10; what will be result of n++ and --n;?
Match the following.
| A | B |
| (a) Modulus | (1) Tokens |
| (b) Separators | (2) Remainder of a division |
| (c) Stream extraction | (3) Punctuators |
| (d) Lexical Units | (4) get from |
Describe the differences between keywords and identifiers?
Is C++ case sensitive? What is meant by the term “case sensitive”?
Differentiate “=” and “==”.
Write about Binary operators used in C++.
What is the difference between 56L and 56?
Determine which of the following are valid constant? And specify their type.
0.5
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
