I got a question for example i have in txt file like '
DAY#3,CUSTOMER_4, COKE, MILK, SHAMPOO
DAY#6,CUSTOMER_5, IRON-MAN FIGURE, UNICORN, PRINCESS DRESS
' my code works fine until customer and i got struct like day[],cutomer[], products[] and i want to put those day and stuff on those arrays but i couldnt save those products on product array just one and then goes to the other line and also space between some strings like 'Tooth Brush' code reads it as Tooth and Brush i couldnt figure out this problem so code has to be like 'Day: Customer: Products: ' any help please

my code is like :

Code:
while (fgets(rec, BUFSIZ, fp) != NULL) {
        //rec[strlen(rec) - 1] = '\0';
        i = 0;
        token = strtok(rec, ", ");
        while (token != NULL) {
            flds[i] = token;
            i++;
            token = strtok(NULL, ", ");
        }

        strcpy(product.day, flds[k]);
        strcpy(product.customer, flds[k+1]);
        //strcpy(product.products, flds[3]);
        
        printf("Day = %s\n", &product.day);
        printf("Customer = %s\n", &product.customer);

        for(k=2;k<15;k++){
            strcpy(product.products, flds[k]);
            printf("Products = %s\n", product.products);
        }