int main(int argc, char **argv) { char *str; char *another; strncpy(str,"data",255+1); strncpy(another,str,255+1); return(0); }