mirror of
https://github.com/autc04/Retro68.git
synced 2024-10-24 15:24:56 +00:00
12 lines
177 B
C
12 lines
177 B
C
|
#include <stdio.h>
|
||
|
#include <stdlib.h>
|
||
|
#include <string.h>
|
||
|
int main ()
|
||
|
{
|
||
|
char foo [10];
|
||
|
char bar [10];
|
||
|
bar[4] = 'k'; /* touch memcpy source */
|
||
|
memcpy(foo, bar, 10);
|
||
|
return 0;
|
||
|
}
|