7.Which of the following statements are correct ways of using typedef in ANSI C for embedded systems?
□ struct node_tag {
int item;
struct node_tag *next;
};
typedef node_tag* pnode;
□ typedef struct node_tag {
int item;
struct node_tag *next;
};
struct node_tag *pnode;
□ struct node_tag {
int item;
struct node_tag *next;
};
typedef struct node_tag;
□ typedef struct node_tag {
int item;
struct node_tag *next;
} node;
□ struct node_tag {
int item;
struct node_tag *next;
};
typedef node_tag node;
--
FROM 1.147.112.*