79322999

Date: 2025-01-02 07:10:23
Score: 1
Natty:
Report link

Thanks for all people's good answers. And Based on these, I think maybe I understand the differences between the two operations.

*ptr_current_node = entry->next;

and

ptr_current_node = &entry->next;

I have drawn a diagram to illustrate the remove function RemoveIf3. And the 2nd, 3rd steps is my understand of the two different operation of points. enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3034702