vector<int> vec(3,1); const std::vector<int>::iterator iter = vec.begin(); *iter = 10; //1 ++iter; //2 std::vector<int>::const_iterator iter2 = vec.begin(); *iter2 = 10;//3 ++iter2; //4
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment