Advertisements
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 |
Is C++ case sensitive? What is meant by the term “case sensitive”?
Differentiate “=” and “==”.
Consider the following C++ statement. Are they equivalent?
char ch = 67;
char ch = ‘C’;
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.
‘\t’
Determine which of the following are valid constant? And specify their type.
27,822
