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?
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
Assume n = 10; what will be result of n++ and --n;?
Describe the differences between keywords and identifiers?
Differentiate “=” and “==”.
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.
