Skip to main content

All Questions

2 votes
3 answers
2k views

What are pros and cons of using temporary "references"?

In C and C++ (and I guess other languages that allow taking a "reference" to an array element or something similar), when you have an array like type, accessing individual elements of such an array ...
Martin Ba's user avatar
  • 7,756