Advertisements
Advertisements
Question
Determine which of the following are valid constant? And specify their type.
‘Name’
One Line Answer
Advertisements
Solution
‘Name’ – Invalid constant as the single quote is not allowed.
shaalaa.com
Lexical Units (Tokens)
Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Data Types, Variables and Expressions - Evaluation - Section - B [Page 151]
APPEARS IN
RELATED QUESTIONS
Which of the following operator is an extraction operator in C++?
The following constant is of which type?
39
Write the following real constant into the exponent form:
7.214
Write the following real constant into the exponent form:
0.00005
Write the following real constant into the exponent form:
0.319
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 “==”.
Write about Binary operators used in C++.
Determine which of the following are valid constant? And specify their type.
27,822
