In C: How do you find the number of elements in an array of structs, after sending it to a function?
int main(void) { myStruct array[] = { struct1, struct2
you have to end the array with a special value and in called function you have to count up to that value that is how strlen() works it counts up to NULL '\0' value.