progs/app5.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 06 Oct 2014 21:23:31 +0100
changeset 213 9c2fa54c7c2d
parent 93 82ac034dcc9d
permissions -rw-r--r--
updated

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