Answers for "c memcpy array"

C
0

c memcpy array

int dst[ARRAY_LENGTH];
memcpy( dst, src, sizeof(dst) ); // Good, sizeof(dst) returns sizeof(int) * ARRAY_LENGTH
Posted by: Guest on November-09-2020

Code answers related to "C"

Browse Popular Code Answers by Language