Advertisements
Advertisements
प्रश्न
Determine which of the following are valid constant? And specify their type.
0.5
Advertisements
उत्तर
0.5 – is a valid constant. It is a decimal.
APPEARS IN
संबंधित प्रश्न
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?
0XCAFE
Write the following real constant into the exponent form:
23.197
Write the following real constant into the exponent form:
7.214
Write the following real constant into the exponent form:
0.00005
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.
‘Name’
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
