Determine which of the following are valid constant? And specify their type. 0.5
Advertisements
Question
Determine which of the following are valid constant? And specify their type.
0.5
One Line Answer
Advertisements
Solution
0.5 – is a valid constant. It is a decimal.
shaalaa.com
Lexical Units (Tokens)
Is there an error in this question or solution?
APPEARS IN
RELATED QUESTIONS
Which of the following statements is not true?
Which of the following is a valid string literal?
The following constant is of which type?
032
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:
7.214
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 |
Write a short note on the const keyword with an example.
Determine which of the following are valid constant? And specify their type.
‘Name’
How relational operators and logical operators are related to one another?
