pointers - Typdef in C, using * what does this do? -


i've used typedef before, i've never used 1 pointer. effect have on typedef?

code reference:

typedef struct node node,  *pnode, **ppnode; 

instead of using struct node can replace node

instead of using struct node* can replace pnode

instead of using struct node** can replace ppnode

the statement can broken down

typedef struct node node; typedef struct node* pnode;   // pnode pointer node typedef struct node** ppnode; // ppnode pointer pointer node 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -