data in a node changed after an unrelated scanf
this is the codeenter image description here
i have no idea why the animal->id changed after the line 71 scanf(“%d”, &choice); This line of code should not affect the animal->id.
this is the codeenter image description here
i have no idea why the animal->id changed after the line 71 scanf(“%d”, &choice); This line of code should not affect the animal->id.