0

I have seen this statement while programming in cpp

For(auto i:vector)

 Cout<<i.first;

What's the meaning?

Is it similar to for loop?

  • Does this answer your question? [C++ auto keyword. Why is it magic?](https://stackoverflow.com/questions/7576953/c-auto-keyword-why-is-it-magic) – maio290 Nov 21 '22 at 17:17

0 Answers0