Advertisements
Advertisements
Question
Determine which of the following are valid constant? And specify their type.
‘Name’
Advertisements
Solution
‘Name’ – Invalid constant as the single quote is not allowed.
APPEARS IN
RELATED QUESTIONS
The following constant is of which type?
39
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
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 |
Determine which of the following are valid constant? And specify their type.
0.5
Determine which of the following are valid constant? And specify their type.
‘\t’
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
How relational operators and logical operators are related to one another?
