Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

c memcpy array

int dst[ARRAY_LENGTH];
memcpy( dst, src, sizeof(dst) ); // Good, sizeof(dst) returns sizeof(int) * ARRAY_LENGTH
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #memcpy #array
ADD COMMENT
Topic
Name
8+6 =