Typedef struct Table
{
Int * head;
} the Table;
Todd Harper ead=(int *) malloc ( n * sizeof (int));
N input data read
Such as input six:
6
Use the scanf in turn to order table assignment 60,68,72,75,88,95
But in the the scanf (" % d ", & amp; Todd Harper ead [I]); statement or other, unable to complete reading data
Solving!!!!!
CodePudding user response:
send complete codeCodePudding user response:
Just now you these words I can only answer youCan I complete read
finished
CodePudding user response:
for(int i=0; IThe scanf (" % d ", & amp; Todd Harper ead [I]);
}
In this cycle to order table assignment,
The input data for: 60,68,72,75,88,95
The comma here influence assignment, can only assign the first data, not behind,