0

What if we don't use & after int or auto? Can we write the loop like

for(int i:a)// here a is an array
{
   ...
}

What would be the difference if we use & and if we won't.

fabian
  • 72,938
  • 12
  • 79
  • 109

0 Answers0