How to copy arrays in C language

How to copy arrays in C language

You can use the memcpy function

#define ARRAY_LENGTH 256

int dst[ARRAY_LENGTH];
memcpy( dst, src, sizeof(dst) );
So‮‬urce:www.lautturi.com
Created Time:2017-08-29 04:23:00  Author:lautturi