How to get the size of an array in a function
Posted on 1998-06-19
I have an array of a structure and this array is passed by reference to a function. What do I have to do to know how many element does the array have ?
I know usually, we pass the array size as parameter too but is it possible to figure it out ?
Here is how my code look like !
void F1(TEST *);
void F1(TEST *TstArray)
// Here, what do I have to do to know how many element does the TstArray have ????