Say i have a function that is being passed two pointers to two separate arrays of doubles and that these arrays occupy the same ammount of memory. how can I:

Initialize a third pointer to the size of the other two (I don't know the number of elements in the array)

Step through the arrays without overstepping the bounds and crashing my program?