Question: C++ which option ? What would the following function func() print on the screen? int func() { std::list int> alist; alist.push back (1); aList.push back

What would the following function func() print on the screen? int func() { std::list int> alist; alist.push back (1); aList.push back (2) alist.push back (3) alist.push back (4); for(std::list int>: : reverse iterator rit alist.begin(); rit!maList.rend (; ++rit) std::cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
