Answer to Question #185322 in C++ for NAZMUS SAKIB TURHAN

Question #185322
for (itr = gquiz1.begin(); itr != gquiz1.end(); ++itr) {
        cout << '\t' << itr->first
             << '\t' << itr->second << '\n';
    }
What is begin() function returns? 
1
Expert's answer
2021-04-25T07:13:44-0400

begin() function returns an iterator pointing to the first element in the container

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS