progs/app5.c
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 05 Aug 2015 09:48:01 +0200
changeset 376 8098bde31185
parent 93 82ac034dcc9d
permissions -rw-r--r--
typos

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