Advertisements
Advertisements
Question
Write the following real constant into the exponent form:
7.214
Sum
Solution
00 7.214 = 0.7214 x 101 = 0.7214E1
shaalaa.com
Lexical Units (Tokens)
Is there an error in this question or solution?
Chapter 9: Introduction to C++ - Evaluation - Section - B [Page 131]
APPEARS IN
RELATED QUESTIONS
Which of the following is a valid string literal?
Which of the following is called compile-time operators?
What are keywords?
The following constant is of which type?
39
The following constant is of which type?
04.14
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.
Consider the following C++ statement. Are they equivalent?
char ch = 67;
char ch = ‘C’;
Determine which of the following are valid constant? And specify their type.
0.5