If you are given a ptr to an array in a function, can you determine the size of the array?
What if you are given a copy of the array?
Size of array would be the size of pointer pointing to the array. This is because you can only pass array pointers to functions
Size of arrays
Size of array would be the size of pointer pointing to the array. This is because you can only pass array pointers to functions