Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

memcpy c

#include <string.h>
void *memcpy(void *dest, const void * src, size_t n)

Parameters
dest − This is pointer to the destination array where the content is to be copied, type-casted to a pointer of type void*.

src − This is pointer to the source of data to be copied, type-casted to a pointer of type void*.

n − This is the number of bytes to be copied.
 
PREVIOUS NEXT
Tagged: #memcpy
ADD COMMENT
Topic
Name
6+4 =