Q55
What will be the output of the following C++ code? #include #include using namespace std; int main () string str; string str2="Steve jobs"; string str3="He founded apple"; str.append(str2); str.append(str3, 6, 3); str.append(str3.begin() + 6, str3.end()); str.append(5,0x2e); cout << str << ' '; return 0;
A.
Steve jobs
B.
He founded apple
C.
Steve
D.
Steve jobsndended apple.....
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board