Which of the following C language code is used to create a new node in the singly linear linked list.
```
struct node
l
int data:
struct node * next;
}
typedef struct node IIST?
LIST*ptr;
```
A. $\mathbf{p t r}=\left(\right.$ LIST $\left.^*\right)$ malloc(sizeof(LIST) $) ;$
B. ${ }^{* p t r}=\left(\right.$ LIST $\left.^*\right)$ malloc(LIST);
C. $\operatorname{ptr}=\left(\operatorname{LIST}^*\right)$ malloc $\left(\right.$ sizeof(LIST $\left.\left.{ }^*\right)\right)$;
D. $\mathrm{ptr}=($ LIST $)$ malloc(sizeof(LIST) $)$;