Why do i get the same string value but different arithmetic values when printing from a Doubly Linked List
问题 So when printing from a DLL I get for all my records the same string values for the following fields: Last Name, First Name, Address, Place of Residence. All these fields hold string values. Although for each node I print I get the correct arithmetic values such as Customer ID, Address Number, Postal Code and Expenditure. This is my main: #include <stdio.h> #include <stdlib.h> #include "ClientList.h" #define SIZE_T 5000 #define YES 1 #define NO 0 main(int argc, char *argv[]){ FILE *fp=NULL;