0
How to pass an array of structures as an argument to a function in C? Also how to return an array of structures from a function.
(A function in C)
2 Respostas
+ 1
as you would pass an array of any type afaik.
typedef struct {...} a;
then the method:
void m(a* arr) {...}
someone can correct me if this is wrong though
0
Mind changing your tag to C instead if #c