User *current = *user_ptr_del;
    
    while(current != NULL){
        printf("Now in %s\n", current->name);
        int i=0;
        for(i; i<MAX_FRIENDS - 1; i++){
            if((current->friends[i] != NULL) && (strcmp(current->friends[i]->name, name) == 0)){   
                for(int i; i < MAX_FRIENDS-1; i++){    
                    //from i(index with deleted user), shift over every element to the left 
                    printf("%s Old value: %s\n", current->name, current->friends[i]->name); 
                    current->friends[i] = current->friends[i + 1]; 
                    printf("%s New value: %s\n", current->name, current->friends[i]->name); 
                }
                current->friends[MAX_FRIENDS - 1] = NULL; //Last element must be NULL after deletion.
            }
        }
        current = current->next;
    }
iterate through all of the User objects. For each user, it checks through the User's list of friends.