-
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
solved How does c++ think when accessing a function with arrays? [closed]