I want to copy a long long array to an integer array using memcpy(). The size of the long long array is half of the size of the integer array.
Other than memcpy() I've used this:
int *dst;
long long src[10];
dst=(int*)src;
But I want to use only memcpy().
Because the purpose is, the long long array is a temporary array, which copies its contents, to the sub arrays of source array. The source array is a 2 dimensional array .