Advertisements
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?
Which of the following is called compile-time operators?
What are keywords?
Write the following real constant into the exponent form:
23.197
Write the following real constant into the exponent form:
0.00005
Is C++ case sensitive? What is meant by the term “case sensitive”?
Write about Binary operators used in C++.
What is the difference between 56L and 56?
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
