K
kelvSYC
Suppose I had an array of some arbitrary size
struct foo a[10];
and I pass that into some function
void bar(struct foo *b);
How do I calculate the number of elements in a[] (10) from within bar()?
struct foo a[10];
and I pass that into some function
void bar(struct foo *b);
How do I calculate the number of elements in a[] (10) from within bar()?