Q:

There is a deeper reason for using references. As an example, consider the following loop

0

There is a deeper reason for using references. As an example, consider the following loop.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

for (const auto &row : ia) // for every element in the outer array
for (auto col : row) // for every element in the inner array
cout << col << endl;

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now