struct LLNode *initLLNode(char val){
struct LLNode *temp;
temp=(struct LLNode *)malloc(sizeof(struct LLNode));
temp->next=NULL;
temp->key=val;
return(temp);
}
i have these lines of code...the line which puzzles me is the line with (struct LLNode *) next to malloc
wat is its purpose there?