Q36
How do you declare a string object named 'text' in C++?
A.
string text;
AnswerB.
string text();
C.
string text{};
D.
string text = "";
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board