7 lines
99 B
C
7 lines
99 B
C
|
void copy(char to[], char from[]) {
|
||
|
int i;
|
||
|
i = 0;
|
||
|
while ((to[i] = from[i]) != '\0')
|
||
|
++i;
|
||
|
}
|