Q890
What will be the output of the following C++ code? #include #include #include using namespace std; int main () list mylist; for (int i = 0; i :: iterator it = mylist.begin(); advance (it, 5); cout << *it << endl; return 0;
A.
30
B.
40
C.
50
AnswerD.
60
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board