#include <strings.h>
|
void
bcopy (const void *src, void *dst, size_t len); |
#include <string.h> #include <stdio.h> int main() { char dst[50]; bcopy("Hello World",dst,12); printf("Destination string after bcopy = %s\n",dst); return 0; }
Output
Destination string after bcopy = Hello World
© 2005-2007 Nokia |