Strings In Depth9 / 18
Up next

strcpy

#include <stdio.h>
#include <string.h>

int main(void) {
    char dst[16];
    strcpy(dst, "source");
    printf("%s\n", dst);
    return 0;
}
What you're solving

copy bytes including the terminator