progs/app5.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 26 Nov 2013 13:51:46 +0000
changeset 141 12729536bfa2
parent 93 82ac034dcc9d
permissions -rw-r--r--
added

void strcpy(char *src, char *dst) {
  int i = 0;
  while (src[i] != "\0") {
    dst[i] = src[i];
    i = i + 1; 
  }
}