Originally Posted by danielakkerman Code: char *x = "C-PROGRAMMING"; char *Prog = (char *)malloc(strlen(x));
char *x = "C-PROGRAMMING"; char *Prog = (char *)malloc(strlen(x));