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
  • 80,457
  • 12
  • 86
  • 114

0 Answers0