typedef struct N0de //定义结点 { int data; struct N0de *next; }N0de,*QueuePtr; typedef struct //定义尾结点 { QueuePtr rear; }LinkQueue;