Q53
What will be the output of the following C++ code? #include #include using namespace std; int main () string str ("microsoft"); string::reverse_iterator r; for (r = str.rbegin() ; r < str.rend(); r++ ) cout << *r; return 0;
A.
microsoft
B.
micro
C.
tfosorcim
AnswerD.
tfos
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board