我使用此结构作为链表:
typedef struct Node{ int value; struct node_t* next; }node_t;
一切工作都很好,直到我将其放在字段struct node_t* next之前为止int value,然后我在该结构上有很多垃圾值。是关于错误的实现还是代码中的其他内容?
struct node_t* next
int value
c struct structure linked-list
c ×1
linked-list ×1
struct ×1
structure ×1