[ad_1]
int q1 (int x[], int &y, int z). You passa(pointer to the beginning of the array) toq1, soxisain functionq1. In this sense, changingxis changinga.y++. Every iteration,ygets1more. So?
8
[ad_2]
solved How does c++ think when accessing a function with arrays? [closed]