Advertisements
Advertisements
Question
Which of the following is a valid string literal?
Options
‘A’
‘Welcome’
1232
“1232”
MCQ
Advertisements
Solution
“1232”
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 called compile-time operators?
The following constant is of which type?
0XCAFE
Write the following real constant into the exponent form:
7.214
Write the following real constant into the exponent form:
0.319
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 |
Write about Binary operators used in 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.
