+ 1
(struct node *)malloc(1*sizeof(struct node));
Can you tell me what is the meaning of (struct node *) in here.
1 Réponse
+ 4
It is used for casting the memory block allocated by malloc() into a pointer of node structure.
Hth, cmiiw
Can you tell me what is the meaning of (struct node *) in here.