progs/app5.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Mon, 03 Nov 2014 13:19:51 +0000
changeset 278 ed3c071ed36a
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; 
  }
}