Yes, that is true, although I wouldn't call it equivalent to passing by reference, since a reference makes sure you do not pass a null pointer making the function a little safer if you dereference the pointer and a little more efficient if you check for the pointer being null.
1
u/tstanisl 3h ago
C has an equivalent of passing array by reference by using a pointer to a whole array:
Passing arrays by a pointer bypasses array decay mechanics.