Passing Array to Function in C/CPP

Although probably far fetched, You could also bundle the array in a struct and pass the struct as parameter (by value/copy)

2 Likes