Does C copy the element every time you access an array? – stackoverflow.com

C can't return references unlike C++. Does that mean if you access A[i] it will copy the element in evaluating the expression? For example if A is an array of 10 ints, does A[5]+=1; only increment ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Does C copy the element every time you access an array? – stackoverflow.com"