Advertisements
Advertisements
Question
Determine which of the following are valid constant? And specify their type.
27,822
One Line Answer
Advertisements
Solution
27,822 – Invalid constant. The comma 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++?
Which of the following statements is not true?
What are keywords?
The following constant is of which type?
39
Write the following real constant into the exponent form:
23.197
Write the following real constant into the exponent form:
7.214
Describe the differences between keywords and identifiers?
Differentiate “=” and “==”.
Determine which of the following are valid constant? And specify their type.
0.5
How relational operators and logical operators are related to one another?
