Which of the following is a valid string literal?
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 is called compile-time operators?
The following constant is of which type?
032
Write the following real constant into the exponent form:
0.00005
Write the following real constant into the exponent form:
0.319
Assume n = 10; what will be result of n++ and --n;?
Write about Binary operators used in C++.
Write a short note on the const keyword with an example.
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.
0.5
What are arithmetic operators in C++? Differentiate unary and binary arithmetic operators. Give example for each of them.
