void allocate(char string[]) { int nrCuv = 0, init_sz = strlen(string), counter = 0; char delim[] = "\\n"; for (int i = 0; i < strlen(strin