Advertisements
Advertisements
Question
Determine which of the following are valid constant? And specify their type.
‘\t’
One Line Answer
Advertisements
Solution
‘\t’ – Escape sequence (or) non – graphical character (horizontal tab).
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 statements is not true?
What are keywords?
The following constant is of which type?
0XCAFE
The following constant is of which type?
04.14
Write the following real constant into the exponent form:
23.197
Write the following real constant into the exponent form:
0.319
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?
Write a short note on the const keyword with an example.
