I need to copy one array into a different array using a function.
However, if the source array has less elements than the destination array,the remaining elements in the destination array should be set to 0.
If the source array is bigger than the destination array, I need to copy only as much as the destination array can fit.
Any help would be appreciated
However, if the source array has less elements than the destination array,the remaining elements in the destination array should be set to 0.
If the source array is bigger than the destination array, I need to copy only as much as the destination array can fit.
Any help would be appreciated