+ 17

Which of the following is a string literal constant

a - "Value C++" b - "137.45" c - " A" d - all of the above

11th Apr 2019, 12:10 PM
Aditya Tiwari
Aditya Tiwari - avatar
12 Answers
+ 10
All of them, as long as you use " "
11th Apr 2019, 12:31 PM
Rasmus Bons
Rasmus Bons - avatar
+ 8
Answer d) for the reason Rasmus Bons mentioned.
14th Apr 2019, 1:41 PM
Sonic
Sonic - avatar
+ 5
They are all literal strings because they are in quotes.
15th Apr 2019, 7:50 PM
Timothy Hames
Timothy Hames - avatar
+ 4
d
15th Apr 2019, 3:59 AM
Olivia Jackson
Olivia Jackson - avatar
+ 3
d all of the above
17th Apr 2019, 9:02 AM
Tanmoy Kundu
Tanmoy Kundu - avatar
+ 3
d
17th Apr 2019, 12:43 PM
Yash Dixit
Yash Dixit - avatar
+ 3
D
19th Apr 2019, 12:34 PM
Pedro Plentz
+ 3
Option D. "A"
21st Apr 2019, 9:14 AM
Saurav Choudhary
Saurav Choudhary - avatar
+ 2
d
18th Apr 2019, 9:40 AM
Vidya
+ 2
D
19th Apr 2019, 7:40 PM
Jatin Jain
Jatin Jain - avatar
+ 2
d
22nd Apr 2019, 11:56 PM
Juan
0
d
24th Aug 2019, 8:46 PM
Nik