+ 5

How to pass an array of structs to function by value in C ?

I have an array of structures that I want to use without changing the original array in several functions. Can anyone help me?

2nd Feb 2021, 1:31 PM
sasan zare
sasan zare - avatar
5 odpowiedzi
+ 3
Shahzad I have logic error
2nd Feb 2021, 2:33 PM
sasan zare
sasan zare - avatar
+ 2
Shahzad The example was excellent. The problem was solved.
2nd Feb 2021, 2:39 PM
sasan zare
sasan zare - avatar