progs/app5.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 08 Jul 2015 14:36:12 +0100
changeset 374 7d8ad963ad24
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; 
  }
}