what does typedef struct node *NODE indicate?

前端 未结 5 1836
遥遥无期
遥遥无期 2021-02-20 01:00
struct node
{
    int coef;

    int exp;

    struct node *link;
};

typedef struct node *NODE;
5条回答
  •  南笙
    南笙 (楼主)
    2021-02-20 01:12

    simply tells you can create pointer of node type using only NODE every time instead of writting struct node * everytime

提交回复
热议问题