I have to write a replacement for strcpy without using pointers or the function having a return value... How could this be done?!
this is what i have so far but it uses return values.
void str_copy(char destination [], char source []) {
int i;
for (i = 0; source[i] != '\0'; ++i)
destination[i] = source[i];
destination[i] = '\0';
return destination;
}